Skip to content

api: kind of fix for the SWHRemoteAPI's contructor

  • ensure we do accept **kwargs so any super().init(**kwargs) from an unexpected MRO path in an indecent maze of multi-inheritance will not crash
  • do not call super().init(); it is either useless (most probably, super() is object in this context) or silently ignore passed kwargs that super() (when it's not object) may have been able to understand...

Long story short, kwargs handling in multi-inheritance init methods is a mess.


Migrated from D1260 (view on Phabricator)

Merge request reports

Loading