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
You should be able to set another Setting instance as a fallback, and retain the dynamic capabilities.
The first step is to change the typing of the fallback argument to accept Settings instances.
Then, we need to be smart about when we e.g. str(fallback) since it could be NotSet at this point. When the user uses .value to obtain the value we need to ensure we don't trigger the NotSet exception either.
The text was updated successfully, but these errors were encountered:
You should be able to set another Setting instance as a fallback, and retain the dynamic capabilities.
The first step is to change the typing of the
fallback
argument to acceptSettings
instances.Then, we need to be smart about when we e.g.
str(fallback)
since it could be NotSet at this point. When the user uses.value
to obtain the value we need to ensure we don't trigger the NotSet exception either.The text was updated successfully, but these errors were encountered: