Skip to content

How to use boolean params as string values without converting to a boolean values #1477

Discussion options

You must be logged in to vote

To force the string value, you should use double quotation to avoid Yaml/Json interpreting the value as bool "...":

- {name: add_noise, type: str, isOptional: true, value: '"False"'}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by polyaxon-team
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
1 participant