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
I'm writing an Affix component that should have its optional_args set to some default values. When I build the stack from an Affix string with no arguments like so,
then MakeMeHearAffix's constructor is called with an empty list for the optional_args, thus overwriting my default values. Clearly, I can work around this and set the defaults to be active if [] is passed in place of proper optional arguments, but I would prefer that the familiar Pythonic way Just Worked (TM).
The text was updated successfully, but these errors were encountered:
I'm writing an Affix component that should have its
optional_args
set to some default values. When I build the stack from an Affix string with no arguments like so,then
MakeMeHearAffix
's constructor is called with an empty list for theoptional_args
, thus overwriting my default values. Clearly, I can work around this and set the defaults to be active if[]
is passed in place of proper optional arguments, but I would prefer that the familiar Pythonic way Just Worked (TM).The text was updated successfully, but these errors were encountered: