mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-10-11 14:26:37 +03:00
24 lines
438 B
Python
24 lines
438 B
Python
from typing import Awaitable as _Awaitable
|
|
|
|
from dependency_injector import providers
|
|
|
|
|
|
class Application(providers.Singleton): ...
|
|
|
|
|
|
class Extension(providers.Singleton): ...
|
|
|
|
|
|
class Middleware(providers.DelegatedCallable): ...
|
|
|
|
|
|
class MiddlewareFactory(providers.Factory): ...
|
|
|
|
|
|
class View(providers.Callable):
|
|
def as_view(self) -> _Awaitable: ...
|
|
|
|
|
|
class ClassBasedView(providers.Factory):
|
|
def as_view(self) -> _Awaitable: ...
|