We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b70f46 commit 9ed13a4Copy full SHA for 9ed13a4
examples/providers/singleton_scoped.py
@@ -10,7 +10,7 @@ class Service:
10
11
class Container(containers.DeclarativeContainer):
12
13
- service_provider = providers.Singleton(Service)
+ service_provider = providers.ThreadLocalSingleton(Service)
14
15
16
def index_view():
0 commit comments