-
- Notifications
You must be signed in to change notification settings - Fork 338
Closed
Description
Hi,
I think in previous versions is was possible to do something like:
containers.override(BaseContainer): class OverrideContainer: ....
Afterwards
c = BaseContainer()
would contain all the overrides.
However, the typing now complains that containers.override
wants a Container instance and not a class. Has overriding containers on the class level been deprecated, as it also seems to have been removed from the documentation?