commit | 86c876e8f8b41575ea6642ebef4dcea1b9684a60 | [log] [tgz] |
---|---|---|
author | Simon Cheung <ming@apache.org> | Sun Jun 30 23:57:38 2024 +0800 |
committer | GitHub <noreply@github.com> | Sun Jun 30 23:57:38 2024 +0800 |
tree | 4e298fd763ccbc68ed1f876781d423f95b66c06d | |
parent | e4280e675229f7e88068fd362f1692f7277e57d1 [diff] |
[chore] add auth param for property_key.remove() (#52)
diff --git a/hugegraph-python-client/src/pyhugegraph/api/schema_manage/property_key.py b/hugegraph-python-client/src/pyhugegraph/api/schema_manage/property_key.py index c0a3af4..e9f9e11 100644 --- a/hugegraph-python-client/src/pyhugegraph/api/schema_manage/property_key.py +++ b/hugegraph-python-client/src/pyhugegraph/api/schema_manage/property_key.py
@@ -180,7 +180,7 @@ def remove(self): dic = self._parameter_holder.get_dic() url = f'{self._host}/graphs/{self._graph_name}/schema/propertykeys/{dic["name"]}' - response = self.__session.delete(url) + response = self.__session.delete(url, auth=self._auth, headers=self._headers) self.clean_parameter_holder() if check_if_success( response,