You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the interpolated value is not a string in the params file, DVC will fail with a validation error.
Let's say, you have params with the following values:
This happens because DVC does not know about the schema during the parsing time, and is only used for validating when loading the yaml data.
We could use a whitelisting to convert data to an appropriate format, but it might not scale. It'd be better to have some way to "convert" data automatically through the schema itself.
Similar issue in #4996 was fixed with a custom solution for the boolean.
Great find. I say we could improve the error message for now as a first step to something like "ERROR: ambiguous value type found for msg in params.yaml (and prevent Running stage...).
See: https://github.com/iterative/dvc/wiki/Parametrization#known-issues
If the interpolated value is not a string in the params file, DVC will fail with a validation error.
Let's say, you have params with the following values:
It might fail with the error similar to the following:
The text was updated successfully, but these errors were encountered: