Open perbu opened 4 years ago
argo-workflows==3.2.0 argo backend is v2.8.0
Hey, how did you solved this problem? I have this problem too ...
code ` from argo.workflows.client import V1alpha1Api from argo.workflows.config import load_kube_config
load_kube_config()
v1alpha1 = V1alpha1Api() wfs = v1alpha1.list_namespaced_workflows(namespace="test-xmai-batch") print(wfs) `
➜ ~ python3 --version Python 3.7.4
➜ ~ argo version argo: v2.6.4 BuildDate: 2020-04-16T02:09:47Z GitCommit: e6caf9845976c9c61e5dc66842c30fd41bde952b GitTreeState: clean GitTag: v2.6.4 GoVersion: go1.13.4 Compiler: gc Platform: darwin/amd64
argo-workflows-3.2.0
I didn't. I've dropped argo-client-python from my project and I'm just using the CLI to submit workflows. From what I can see the project looks abandoned and hasn't kept up with Argo development.
If you look at the the other issues you'll find forks that might or might not work. But I would be careful on putting too much reliance on an open source project where the only usage example doesn't work.
That's a pity.
Hi.
I've trying to rewrite a shell-script into a Python script and get a bit better control over the interactions with Argo. This library looks like just what the doctor ordered.
However, when I try to submit the example it fail. I use the hello world example workflow. It fails deep inside the k8s libs, in the v1_container apis where a name for the container seems to be required.
The whole stack trace is here:
The python script trying to submit the workflow looks like this:
The interesting thing is that the workflow gets submitted. After running the above:
I've tried editing the workflow. Adding a name to the container changes the errors. I get the following trace:
Any advice would be welcome.
Per.