-
-
Notifications
You must be signed in to change notification settings - Fork 337
Closed
Labels
Description
Here (https://github.com/ets-labs/python-dependency-injector/blob/master/src/dependency_injector/providers.pyx#L90) you don't need to make an object attribute:
self.__overriding_lock = self.__class__.overriding_lock
You can simply access self.overriding_lock
in your methods, since you aren't assigning to it, only calling its method.
(Sorry for the drive-by code review. Feel free to close if you don't want to change it.)