File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff line change 11[pytest]
2- addopts = -s -vv --reruns 1 --reruns-delay 10 --durations =20
2+ addopts = -s -vv --reruns 5 --reruns-delay 10 --durations =20
33markers =
44 slow: marks tests as slow (deselect with ' -m "not slow"' )
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments