This is an automated email from the ASF dual-hosted git repository.
jin pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-ai.git
from 29bc2c9 chore: enable merge option temporarily (#68)
add 4d8ee08 chore(llm): prepare for the new py-client & api
add 5e0c268 feat(client): support graphspace & refactor the request logic
(#61)
add 51c162e Merge branch 'main' into py-client-new
add 752bd5f feat(client): Implement new api & optimize code structure
(#63)
add 7b84f21 chore(client): fix pylint (#66)
new 0a9bf24 Merge pull request #67 from apache/py-client-new
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../src/hugegraph_llm/{ => api}/__init__.py | 0
.../hugegraph_llm/{__init__.py => api/rag_api.py} | 0
hugegraph-python-client/README.md | 39 +-
.../src/pyhugegraph/api/auth.py | 490 +++++++--------------
.../src/pyhugegraph/api/common.py | 65 ++-
.../src/pyhugegraph/api/graph.py | 322 ++++----------
.../src/pyhugegraph/api/graphs.py | 83 ++--
.../src/pyhugegraph/api/gremlin.py | 51 +--
.../src/pyhugegraph/api/metric.py | 137 ++----
.../src/pyhugegraph/api/rank.py | 65 +++
.../src/pyhugegraph/api/rebuild.py | 87 ++++
.../src/pyhugegraph/api/schema.py | 162 +++----
.../pyhugegraph/api/schema_manage/edge_label.py | 95 ++--
.../pyhugegraph/api/schema_manage/index_label.py | 79 ++--
.../pyhugegraph/api/schema_manage/property_key.py | 119 ++---
.../pyhugegraph/api/schema_manage/vertex_label.py | 106 ++---
.../src/pyhugegraph/api/services.py | 135 ++++++
.../src/pyhugegraph/api/task.py | 53 +--
.../src/pyhugegraph/api/traverser.py | 474 ++++++++------------
.../src/pyhugegraph/api/variable.py | 60 +--
.../src/pyhugegraph/api/version.py | 20 +-
hugegraph-python-client/src/pyhugegraph/client.py | 134 +++---
.../src/pyhugegraph/example/hugegraph_example.py | 18 +-
.../src/pyhugegraph/example/hugegraph_test.py | 4 +-
.../src/pyhugegraph/structure/graph_instance.py | 58 ---
.../src/pyhugegraph/structure/property_key_data.py | 21 +-
.../src/pyhugegraph/structure/rank_data.py | 96 ++++
.../src/pyhugegraph/structure/services_data.py | 62 +++
.../src/pyhugegraph/utils/huge_config.py | 70 +++
.../src/pyhugegraph/utils/huge_decorator.py | 2 +-
.../src/pyhugegraph/utils/huge_requests.py | 140 +++++-
.../src/pyhugegraph/utils/huge_router.py | 193 ++++++++
.../src/pyhugegraph/utils/log.py | 79 ++++
.../src/pyhugegraph/utils/util.py | 83 +++-
hugegraph-python-client/src/tests/api/test_auth.py | 8 +-
style/pylint.conf | 3 +-
36 files changed, 1949 insertions(+), 1664 deletions(-)
copy hugegraph-llm/src/hugegraph_llm/{ => api}/__init__.py (100%)
copy hugegraph-llm/src/hugegraph_llm/{__init__.py => api/rag_api.py} (100%)
create mode 100644 hugegraph-python-client/src/pyhugegraph/api/rank.py
create mode 100644 hugegraph-python-client/src/pyhugegraph/api/rebuild.py
create mode 100644 hugegraph-python-client/src/pyhugegraph/api/services.py
delete mode 100644
hugegraph-python-client/src/pyhugegraph/structure/graph_instance.py
create mode 100644
hugegraph-python-client/src/pyhugegraph/structure/rank_data.py
create mode 100644
hugegraph-python-client/src/pyhugegraph/structure/services_data.py
create mode 100644 hugegraph-python-client/src/pyhugegraph/utils/huge_config.py
create mode 100644 hugegraph-python-client/src/pyhugegraph/utils/huge_router.py
create mode 100755 hugegraph-python-client/src/pyhugegraph/utils/log.py