Skip to content

Commit d4faa48

Browse files
committed
formatting
1 parent 3cea973 commit d4faa48

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

labelbox/client.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -904,12 +904,12 @@ def create_ontology_from_feature_schemas(self,
904904

905905
def delete_unused_feature_schema(self, feature_schema_id: str):
906906
"""
907-
Deletes a feature schema if it is not used by any ontologies or annotations
908-
Args:
909-
feature_schema_id (str): The id of the feature schema to delete
910-
Example:
911-
>>> client.delete_unused_feature_schema("cleabc1my012ioqvu5anyaabc")
912-
"""
907+
Deletes a feature schema if it is not used by any ontologies or annotations
908+
Args:
909+
feature_schema_id (str): The id of the feature schema to delete
910+
Example:
911+
>>> client.delete_unused_feature_schema("cleabc1my012ioqvu5anyaabc")
912+
"""
913913

914914
endpoint = self.rest_endpoint + "/feature-schemas/" + urllib.parse.quote(
915915
feature_schema_id)

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[pytest]
2-
addopts = -s -vv --reruns 1 --reruns-delay 10 --durations=20
2+
addopts = -s -vv --reruns 5 --reruns-delay 10 --durations=20
33
markers =
44
slow: marks tests as slow (deselect with '-m "not slow"')

tests/integration/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ def rest_url(environ: str) -> str:
7171
elif environ == Environ.STAGING:
7272
return 'https://api.lb-stage.xyz/api/v1'
7373
elif environ == Environ.CUSTOM:
74-
graphql_api_endpoint = os.environ.get('LABELBOX_TEST_REST_API_ENDPOINT')
75-
if graphql_api_endpoint is None:
74+
rest_api_endpoint = os.environ.get('LABELBOX_TEST_REST_API_ENDPOINT')
75+
if rest_api_endpoint is None:
7676
raise Exception(f"Missing LABELBOX_TEST_REST_API_ENDPOINT")
77-
return graphql_api_endpoint
77+
return rest_api_endpoint
7878
return 'http://host.docker.internal:8080/api/v1'
7979

8080

0 commit comments

Comments
 (0)