-
Notifications
You must be signed in to change notification settings - Fork 8
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
Argo Python SDK #9
Comments
Hey @zhujiangyou, thanks for the question! I'll try to clarify the purpose of this client and see if I answer your question. This library currently doesn't have the Argo CLI ported to Python, if that's what you mean. I am sorry to disappoint you if that's what you have expected. This client acts similarly to the kubernetes-python-client. It is basically an extension to the Kubernetes client providing Argo models and API paths to create, list, delete and in general manipulate workflows and workflow templates as you would do with any other Kubernetes resource. |
@CermakM just wanted to let you know what you have done is very valuable to me. I didn't make much progress on this after I tried to generate python sdk from argo swag definition (with Kubernetes client generator). I were able to generate the models but I couldn't fix the dependency problems where some Argo models just assume kubernetes models were there. So would love to know how you have resolved that. Other than that it's been great, I have been able to build dags on top of your sdk and on my way to work a workflow framework on top of your client. Thank you! |
Hey @yxue-kabam. Thanks a lot for the feedback! :) I am glad it helps! Yep, it's been somewhat complicated to include the kubernetes models. I solved it by tweaking the code generation and including the Python Kubernetes models. |
The SDK is currently under development: https://github.com/CermakM/argo-python-sdk |
Here is a hello-world example of the Argo Python SDK.
|
If you want an API for Argo CLI directly, please check https://github.com/argoproj-labs/argo-workflows-python-sdk |
Where can I find a python SDK to replace Argo's various command-line interfaces?
The text was updated successfully, but these errors were encountered: