make MixinBase betterfor init

This commit is contained in:
Matthias 2022-05-11 14:47:00 +02:00
parent f76dcdeb82
commit 355695c679
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -116,9 +116,10 @@ class MixinBase:
Base set of mixin functions and mechanisms
"""
def __init__(self) -> None:
def __init__(self, *args, **kwargs) -> None:
self._mixinreg = {}
self._mixins = {}
super().__init__(*args, **kwargs)
def add_mixin(self, key: str, fnc_enabled=True, cls=None):
"""