Skip to content

Commit 6c470dd

Browse files
committed
Replaced print statements with logger.info
1 parent c3e7875 commit 6c470dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

labelbox/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,12 +1632,12 @@ def remove_feature_schema_from_ontology(
16321632
if response.status_code == requests.codes.ok:
16331633
response_json = response.json()
16341634
if response_json['archived'] == True:
1635-
print(
1635+
logger.info(
16361636
'Feature schema was archived from the ontology because it had associated labels.'
16371637
)
16381638
return response_json
16391639
elif response_json['deleted'] == True:
1640-
print(
1640+
logger.info(
16411641
'Feature schema was successfully removed from the ontology')
16421642
else:
16431643
raise labelbox.exceptions.LabelboxError(

0 commit comments

Comments
 (0)