-
Notifications
You must be signed in to change notification settings - Fork 28
Workflow Parameters #11
Comments
@sphadley I'm actually wondering the same thing with the args. Were you at least able to run the example locally? When I try to submit a workflow, the workflow does get created but I'm also getting this:
Did you happen to run into this? |
@abaiju15 Long story short, the repo hasn't been updated for a while and I just completed an update in branch 2.10.2 https://github.com/argoproj-labs/argo-client-python/tree/argo/v2.10.2 I have not had a chance to release it to pypi yet, if you don't want to wait, you can try it by:
The new release has multiple integration tests to submit most of the example yaml via the sdk so you shouldn't run into above ValueError. Please make sure you are running argo 2.10.x |
@sphadley would you mind be more specific about your use case? Are you talking about overriding a parameter upon submitting a workflow? How is your workflow constructed? |
Thanks @binarycrayon - that worked for the example! In terms of my use case of being able to submit parameters with the workflow, I'm trying to basically add an arbitrary number of input parameters to be used within the workflow. Let's say I have a template with these arguments:
and I want to be able to add in more parameters at runtime, so it would look something like this:
How would this be possible without having to modify the workflow.yaml file ahead of time? |
@binarycrayon, Thanks, |
Hey @abaiju15! I am getting the same issue as you except the workflow doesn't even get created.
What exactly is the versions of argo, kubenetes and argo-python-client i shoud use in order to use the api with this python client? I also noticed argo-server is using Thanks! |
@samuelamar15 @abaiju15 @sphadley Could you try argo-workflows==4.0.1 release? |
Unfortunatly I still cannot use it because the 4.0.1 release is not compatible with the 0.3.0 of argo-dsl. |
Yes this is in the works, I'll release new argo-dsl today or tomorrow
…On Sat, Dec 5, 2020 at 8:43 AM Samuel Amar ***@***.***> wrote:
Unfortunatly I still cannot use it because the 4.0.1 release is not
compatible with the 0.3.0 of argo-dsl.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAACPY4BT6BVAIOSWDA7B7TSTJPLJANCNFSM4RN24KSQ>
.
|
@samuelamar15 I just released argo-python-dsl 0.4.0 -- also included an example to submit with dsl https://github.com/argoproj-labs/argo-python-dsl#submitting-with-dsl Would love to know if this works for you |
@binarycrayon seems like all is working well now 👍 |
How do you pass workflow parameters using create_namespaced_workflow. I don't see anything about in the documentation, and I don't see anything specifically handling in the kwargs parsing. Am I missing something? Is it supported?
The text was updated successfully, but these errors were encountered: