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

Documentation for the Python SDK #9016

Closed
samunaai opened this issue Jun 21, 2022 · 7 comments
Closed

Documentation for the Python SDK #9016

samunaai opened this issue Jun 21, 2022 · 7 comments
Labels
area/docs Incorrect, missing, or mistakes in docs area/sdks solution/superseded This PR or issue has been superseded by another one (slightly different from a duplicate) type/feature Feature request

Comments

@samunaai
Copy link

Summary

👋🏾👋🏾 Hello! We are working on a serious project with Argo Python SDK and hoped to inquire about the documentation to better understanding how we can correctly use the API.

Use Cases

For now, it appears that most of the documentation for the Argo Python SDK centers on the hello world example [in the README].

However, we are also looking for if there are any additional documentation we can use for this. We are specifically interested in how to use a mounted volume, how to pass artifacts, and, most importantly, how to trigger memoization using the Python SDK.

As per the screenshot below, we are asked to visit [this link] for additional examples. However, the link currently contains a unit test corresponding to the "hello world" example which is present in the read me.

We also had a look at the [API reference], but it mostly contains details of how to use the various classes which have been implemented using the API.

Would the argo workflows team kindly have any examples that may have been used in unit testing for some other parts of API reference? Or just any documentation links that may be on another website, which would be helpful for us?

Warm regards,

stack


Message from the maintainers:

Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

@samunaai samunaai added the type/feature Feature request label Jun 21, 2022
@terrytangyuan
Copy link
Member

Yes I agree that we lack of examples currently. Feel free to help convert existing YAML examples to Python.

@samunaai
Copy link
Author

Thank you very much @terrytangyuan . If I may ask, is there an easy way to know how to convert the YAML to Python? Right now I am not perfectly sure how to correctly use the Python Classes which have been provided. Do you have any recommendations as I work this out?🙏🏿🙏🏿

@caelan-io caelan-io added area/docs Incorrect, missing, or mistakes in docs area/sdks labels Jun 22, 2022
@caelan-io
Copy link
Member

Sidenote: There are a couple other Python SDK options that may have more documentation/ active users & maintainers for your needs:

  1. Hera
  2. Couler

@samunaai
Copy link
Author

Indeed! Thank you @caelan-io I used both these APIs as well, and they were great, but were a bit slower to catch up to newer Argo features. The API reference for the Python SDK was quite comprehensive

@flaviuvadan
Copy link
Contributor

@munachisonwadike Hera v5 offers a fully featured Argo Workflows + Events SDK now!

@tooptoop4
Copy link
Contributor

maybe this should be deprecated

@agilgur5
Copy link
Member

Superseded by #13719, suggesting Hera (and Couler) as per above.

Hera is also in progress to being the "official" Python SDK per argoproj/argoproj#286

@agilgur5 agilgur5 added the solution/superseded This PR or issue has been superseded by another one (slightly different from a duplicate) label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Incorrect, missing, or mistakes in docs area/sdks solution/superseded This PR or issue has been superseded by another one (slightly different from a duplicate) type/feature Feature request
Projects
None yet
Development

No branches or pull requests

6 participants