Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(interactive): Introduce Interactive Java/Python SDK #3602

Merged
merged 19 commits into from
Apr 30, 2024

Conversation

zhanglei1949
Copy link
Collaborator

@zhanglei1949 zhanglei1949 commented Mar 5, 2024

Introduce the SDK of GraphScope Interactive. Including Java SDK and Python SDK.
The most part of the code in SDKs are automatically generated from the OpenAPI specification yaml(graphscope_interactive.yaml) using tools provided by OpenAPI. We integrate the generated code and cypher/gremlin driver with some wrapper code.

  • The generated code SHOULD not be included in the codebase, user can refer to flex/interactive/sdk/README.md to generate the SDKs if interested.
  • Providing some examples about how to use the SDKs.
  • Add tests in Interactive CI
  • Also add docs for Interactive SDK.

For example usage of Python/Java SDK, see BasicExample.java and basic_example.py.

@zhanglei1949 zhanglei1949 force-pushed the interactive-sdk branch 6 times, most recently from 3f9b5b2 to ae5633d Compare April 28, 2024 07:26
fix

todo: finish java test

fix java test

fixing ci

fix ci

todo: impl python sdk

add python test

generate for py3

todo: fix from_json

fix type parsing

fix python test

add ignore

delete docs

remove files

remove

remove dummy unit test classes

generate no date

make sure no additional changes when generate python sdk

add python example

add license and example

try to generate with license

fix

add documentaion

format java and python code

minor fix

minor fix

format

fixing ci
@zhanglei1949 zhanglei1949 changed the title feat(interactive): Introduce Interactive SDK feat(interactive): Introduce Interactive Java/Python SDK Apr 29, 2024
@zhanglei1949 zhanglei1949 merged commit d3542e5 into alibaba:main Apr 30, 2024
38 of 39 checks passed
@zhanglei1949 zhanglei1949 deleted the interactive-sdk branch May 29, 2024 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants