Skip to content

Commit 5f89245

Browse files
committed
Ran the formatter
1 parent 65b814b commit 5f89245

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

labelbox/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1685,7 +1685,7 @@ def delete_feature_schema_from_ontology(
16851685
raise labelbox.exceptions.LabelboxError(
16861686
"Failed to remove feature schema from ontology, message: " +
16871687
str(response.json()['message']))
1688-
1688+
16891689
def unarchive_feature_schema_node(self, ontology_id: str,
16901690
root_feature_schema_id: str) -> None:
16911691
"""
@@ -1707,7 +1707,7 @@ def unarchive_feature_schema_node(self, ontology_id: str,
17071707
if response.status_code == requests.codes.ok:
17081708
if not bool(response.json()['unarchived']):
17091709
raise labelbox.exceptions.LabelboxError(
1710-
"Failed unarchive the feature schema.")
1710+
"Failed unarchive the feature schema.")
17111711
else:
17121712
raise labelbox.exceptions.LabelboxError(
17131713
"Failed unarchive the feature schema node, message: ",

tests/integration/test_ontology.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ def test_ontology_create_read(client, rand_gen):
247247
attr) == _get_attr_stringify_json(
248248
queried_ontology, attr)
249249

250+
250251
def test_unarchive_feature_schema_node(client, ontology):
251252
feature_schema_to_unarchive = ontology.normalized['tools'][0]
252253
result = client.unarchive_feature_schema_node(
@@ -271,4 +272,4 @@ def test_unarchive_feature_schema_node_for_non_existing_ontology(
271272
with pytest.raises(Exception,
272273
match="Failed to find ontology by id: invalid-ontology"):
273274
client.unarchive_feature_schema_node(
274-
'invalid-ontology', feature_schema_to_unarchive['featureSchemaId'])
275+
'invalid-ontology', feature_schema_to_unarchive['featureSchemaId'])

0 commit comments

Comments
 (0)