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
Is there a reason why arguments are evaulated in such a (IMO) cumbersome way? This could be just a keyword argument to the function instead of manually fiddling with `kwargs`... I would probably have implemented it like that when starting from scratch:
NoneBehavior=Enum("NoneBehavior", ["DEFAULT", "OVERRIDE"])
def__init__(self, *args, none_behavior: NoneBehavior=None, **kwargs):
ifnone_behaviornotinNoneBehavior:
raiseHiYaPyCoInvocationException(f"Undefined non_behavior, must be one of {', '.join(NoneBehavior._member_names_}")
self.none_behavior=none_behavior
Originally posted by @grst in #78 (comment)
The text was updated successfully, but these errors were encountered: