# (c) Nelen & Schuurmans from typing import Any from typing import Dict __all__ = ["AttrDict"] class AttrDict(Dict[str, Any]): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.__dict__ = self def dict(self): return self