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
This error doesn't happen if there's a default value specified for the Config. Unfortunately, that's not always possible so there's no obvious workaround at this point.
The text was updated successfully, but these errors were encountered:
Apologies for the delay -- I will fix it (I think I know what the issue is). I am curious, however, of your use case of a config with no default and not being required (ie: it can be None). We did discuss this internally (I have to go back and check) and am curious as to how you are planning to use it that way.
In this case, we have a flow capable of reading the configuration values from environment variables, but we want to add the ability to use a configuration file as well.
If a file is specified, we’ll read the settings from it. If not, we’ll use environment variables and default values.
Let me know if this answers your question and thanks for looking into this!
A flow with an optional
Config
property raises an exception when trying to generate a card.Code to reproduce the issue:
Pipeline output with the exception text:
This error doesn't happen if there's a default value specified for the
Config.
Unfortunately, that's not always possible so there's no obvious workaround at this point.The text was updated successfully, but these errors were encountered: