Skip to content

Commit 8577500

Browse files
authored
Update the staging API keys (#2023)
2 parents 0d32b92 + 35eba49 commit 8577500

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.github/actions/lbox-matrix/index.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26811,29 +26811,30 @@ const core = __nccwpck_require__(8611);
2681126811
try {
2681226812
const files = JSON.parse(core.getInput('files-changed'));
2681326813
const startingMatrix = [
26814+
// To be updated with the new API keys
2681426815
{
2681526816
"python-version": "3.9",
26816-
"api-key": "STAGING_LABELBOX_API_KEY_3",
26817+
"api-key": "STAGING_LABELBOX_API_KEY_ORG_CMH2FKAOZ032H0735C32V1U63",
2681726818
"da-test-key": "DA_GCP_LABELBOX_API_KEY"
2681826819
},
2681926820
{
2682026821
"python-version": "3.10",
26821-
"api-key": "STAGING_LABELBOX_API_KEY_4",
26822+
"api-key": "STAGING_LABELBOX_API_KEY_ORG_CMH2G1557037K0726H50N3JQK",
2682226823
"da-test-key": "DA_GCP_LABELBOX_API_KEY"
2682326824
},
2682426825
{
2682526826
"python-version": "3.11",
26826-
"api-key": "STAGING_LABELBOX_API_KEY",
26827+
"api-key": "STAGING_LABELBOX_API_KEY_ORG_CMH2G7STM04WC071F73LG8RSD",
2682726828
"da-test-key": "DA_GCP_LABELBOX_API_KEY"
2682826829
},
2682926830
{
2683026831
"python-version": "3.12",
26831-
"api-key": "STAGING_LABELBOX_API_KEY_5",
26832+
"api-key": "STAGING_LABELBOX_API_KEY_ORG_CMH2GEJW9033B07299RKLAOFM",
2683226833
"da-test-key": "DA_GCP_LABELBOX_API_KEY"
2683326834
},
2683426835
{
2683526836
"python-version": "3.13",
26836-
"api-key": "STAGING_LABELBOX_API_KEY_2",
26837+
"api-key": "STAGING_LABELBOX_API_KEY_ORG_CMH2GGV3X04QK071X1EJCH8W0",
2683726838
"da-test-key": "DA_GCP_LABELBOX_API_KEY"
2683826839
},
2683926840
];

.github/workflows/python-package-develop.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,19 @@ jobs:
5959
matrix:
6060
include:
6161
- python-version: "3.9"
62-
api-key: STAGING_LABELBOX_API_KEY_3
62+
api-key: STAGING_LABELBOX_API_KEY_ORG_CMH2FKAOZ032H0735C32V1U63
6363
da-test-key: DA_GCP_LABELBOX_API_KEY
6464
- python-version: "3.10"
65-
api-key: STAGING_LABELBOX_API_KEY_4
65+
api-key: STAGING_LABELBOX_API_KEY_ORG_CMH2G1557037K0726H50N3JQK
6666
da-test-key: DA_GCP_LABELBOX_API_KEY
6767
- python-version: "3.11"
68-
api-key: STAGING_LABELBOX_API_KEY
68+
api-key: STAGING_LABELBOX_API_KEY_ORG_CMH2G7STM04WC071F73LG8RSD
6969
da-test-key: DA_GCP_LABELBOX_API_KEY
7070
- python-version: "3.12"
71-
api-key: STAGING_LABELBOX_API_KEY_5
71+
api-key: STAGING_LABELBOX_API_KEY_ORG_CMH2GEJW9033B07299RKLAOFM
7272
da-test-key: DA_GCP_LABELBOX_API_KEY
7373
- python-version: "3.13"
74-
api-key: STAGING_LABELBOX_API_KEY_2
74+
api-key: STAGING_LABELBOX_API_KEY_ORG_CMH2GGV3X04QK071X1EJCH8W0
7575
da-test-key: DA_GCP_LABELBOX_API_KEY
7676
uses: ./.github/workflows/python-package-shared.yml
7777
with:

libs/labelbox/tests/integration/test_api_keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_create_api_key_failed(client):
5555
client.create_api_key(
5656
name=f"Test Key {uuid.uuid4()}",
5757
user=client.get_user().email,
58-
role="LABELER", # This string should fail since role strings are case sensitive
58+
role="LABELER", # This string should fail because role strings are case sensitive
5959
validity=5,
6060
time_unit=TimeUnit.MINUTE,
6161
)

0 commit comments

Comments
 (0)