Closed pkrishn6 closed 4 years ago
I printed the response object and I only see
KInd
, apiVersion
, metadata
and spec
Status is not part of the response object. I wonder how others do not hit this issue
Downgraded to 2.4.3 and the issue persists
@pkrishn6 This is not an issue. It's a requirement of the Open API which requires status
not to be None
... I know this is annoying, but you can simply add status: {}
into a yaml file to go around that.
see https://github.com/argoproj/argo/blob/master/api/openapi-spec/swagger.json#L1574
@CermakM I agree that this is not an issue on the client side . Was curious how people bypassed the issue. I should have thought about adding a empty status object . Thanks for the tip
Trying to submit a hello-world.yaml (https://github.com/argoproj/argo/blob/master/examples/hello-world.yaml).
Hit this issue: https://github.com/CermakM/argo-client-python/issues/11
Adding name to the container results in
client version is : 2.4.1 and argo controller version is v2.5.0-rc10 .
I dont think this is an backwards compatibility issue as the api hasn't changed : https://github.com/CermakM/argo-client-python/pull/14/commits/9c7dbfc6b8a9d37c953ae2467df6f17b6adbdbfd#diff-2bb0c0b9af14856cdac36a4e7e8471c5R50
Kindly help me getting past this issue.