23.16.0
Added
-
enter keyword argument to all
register_(value|factory)()
. It prevents svcs from entering context managers if the factory returns one. This is useful for context managers like database transactions that you want to start manually. -
Services acquired using
aget()
now also can receive the current container if they take one argument that is namedsvcs_container
or that is annotated as beingsvcs.Container
and has any name.