Skip to content

fix: drop optional flagged params set to an empty string in build_command#399

Open
allison-truhlar wants to merge 2 commits into
mainfrom
omit-empty-flagged-params
Open

fix: drop optional flagged params set to an empty string in build_command#399
allison-truhlar wants to merge 2 commits into
mainfrom
omit-empty-flagged-params

Conversation

@allison-truhlar

Copy link
Copy Markdown
Collaborator

This PR was motivated by a Tensorswitch job failing when an optional flagged parameter was passed a default value "" from the runnables.yaml. This fixes the case where a runnables.yaml sets a default value for an optional flagged parameter to "", or where a payload to the API includes a value of "" for a flagged parameter. Note - the UI does not allow for empty strings to be submitted, so this is a purely backend fix.

…mand

- this fixes the case where a runnables.yaml sets a default value for an optional flagged parameter to "", or where a payload to the API includes a value of "" for a flagged parameter. Note - the UI does not allow for empty strings to be submitted, so this is a purely backend fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant