Skip to content

Commit 156bcd5

Browse files
author
rllin
authored
clean up extra bespoke handling of bir queries (#36)
* wip * replace BIR call with project call * fix mypy * clean up classmethods * update types * remove project dependenc * yapf * mypy * fix * yapf * mypy * ypaf * improt * import * mypy * mpypy * ignore * mypy * mypy * clean up * clean up * clean up * cleanup * clean up * remove imports * staging * seek rather than open 2x * reorder * fix seek -n * fix * yapf * prod
1 parent 2b77849 commit 156bcd5

File tree

7 files changed

+287
-255
lines changed

7 files changed

+287
-255
lines changed

.github/workflows/python-package.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ jobs:
5353
# TODO: create a staging environment (develop)
5454
# we only test against prod right now because the merges are right into
5555
# the main branch which is develop right now
56-
LABELBOX_TEST_ENVIRON: "PROD"
56+
LABELBOX_TEST_ENVIRON: "prod"
57+
#
58+
# randall+staging-python@labelbox.com
59+
#LABELBOX_TEST_API_KEY: ${{ secrets.STAGING_LABELBOX_API_KEY }}
60+
#LABELBOX_TEST_ENDPOINT: "https://staging-api.labelbox.com/graphql"
61+
#LABELBOX_TEST_ENVIRON: "staging"
5762
run: |
58-
tox -- -svv
63+
tox -- -svv

labelbox/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name = "labelbox"
22

33
from labelbox.client import Client
4+
from labelbox.schema.bulk_import_request import BulkImportRequest
45
from labelbox.schema.project import Project
56
from labelbox.schema.dataset import Dataset
67
from labelbox.schema.data_row import DataRow

labelbox/schema/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import labelbox.schema.asset_metadata
2+
import labelbox.schema.bulk_import_request
23
import labelbox.schema.benchmark
34
import labelbox.schema.data_row
45
import labelbox.schema.dataset

0 commit comments

Comments
 (0)