We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey, I noticed that JSONType does not convert parameters to objects on argo. Instead the params remain strings.
JSONType
python testflow.py run --param '["test"]'
self.param
python testflow.py argo-workflows trigger --param '["test"]'
This issue might've been introduced with 2.12.23:
Test flow:
from metaflow import JSONType, Parameter, kubernetes, project, step, FlowSpec @project(name="test") class TestFlow(FlowSpec): param = Parameter("param", type=JSONType) @kubernetes() @step def start(self): print(self.param) # <class 'str'> on argo, <class 'list'> via run print(type(self.param)) self.next(self.end) @kubernetes() @step def end(self): pass if __name__ == "__main__": TestFlow()
The text was updated successfully, but these errors were encountered:
saikonen
No branches or pull requests
Hey, I noticed that
JSONType
does not convert parameters to objects on argo. Instead the params remain strings.python testflow.py run --param '["test"]'
,self.param
is of type listpython testflow.py argo-workflows trigger --param '["test"]'
the param is of type strThis issue might've been introduced with 2.12.23:
Test flow:
The text was updated successfully, but these errors were encountered: