I am using BatchSubmit and I need to pass paramete...
# ask-community
t
I am using BatchSubmit and I need to pass parameters to the job so I am passing
Copy code
n_estimators = Parameter('n_estimators', default=500)
BatchSubmit()(..., batch_kwargs={
'parameters': {'blah', n_estimators}})
The issue is that batch requires the values for parameters be strings but I want the input Parameters to be integers. Is there a way to convert a Parameter from one type to another? Should I have a task that takes the parameter and returns the string version?