Skip to content

Commit f5a2c1b

Browse files
committed
url encode rest endpoint params
1 parent 0355561 commit f5a2c1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,7 @@ def is_feature_schema_archived(self, ontology_id: str,
15871587
bool
15881588
"""
15891589

1590-
ontology_endpoint = self.rest_endpoint + "/ontologies/" + ontology_id
1590+
ontology_endpoint = self.rest_endpoint + "/ontologies/" + urllib.parse.quote(ontology_id)
15911591
response = requests.get(
15921592
ontology_endpoint,
15931593
headers=self.headers,

0 commit comments

Comments
 (0)