Also we keep the compatible with the legacy request url/uri~
This PR introduces significant updates to the hugegraph-python-client module, focusing on GraphSpace compatibility and API v3 support. Key changes include:
[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.
Also we keep the compatible with the legacy request url/uri~
This PR introduces significant updates to the hugegraph-python-client module, focusing on GraphSpace compatibility and API v3 support. Key changes include:
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.