Now we refactor the whole py-client module, and ALSO we keep the compatible with the legacy request url~
Main author: @afterimagex
This PR introduces significant updates to the hugegraph-python-client module, focusing on GraphSpace compatibility and API v3 support. Key changes include: (Already tested for some days)
[x] Unified connection configuration via HGraphConfig to streamline parameter management.
[x] Enhanced HGraphSession for unified HTTP calls with optimized URL handling.
[x] Automatic GraphSpace detection based on server API version, ensuring compatibility with both old and new server versions.
[x] Refactored HGraphContext and HGraphRouter for more structured URL definitions using a decorator approach.
[x] Introduction of the @http decorator for simplified HTTP method and path definitions.
[ ] Extensive compatibility testing to ensure a seamless experience across different server versions.
The update aims to provide a robust and flexible client module for interacting with HugeGraph servers, catering to the needs of both new and existing API versions.
Note: Merge the 4 commits to master (Don't squash it to one commit)
Now we refactor the whole py-client module, and ALSO we keep the compatible with the legacy request url~
This PR introduces significant updates to the hugegraph-python-client module, focusing on GraphSpace compatibility and API v3 support. Key changes include: (Already tested for some days)
The update aims to provide a robust and flexible client module for interacting with HugeGraph servers, catering to the needs of both new and existing API versions.
Note: Merge the 4 commits to master (Don't squash it to one commit)