mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-05-23 14:59:08 +03:00
Update multiple containers example
This commit is contained in:
parent
38514c29c5
commit
c83b41a94e
|
@ -2,12 +2,13 @@
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from dependency_injector.wiring import Provide
|
from dependency_injector.wiring import inject, Provide
|
||||||
|
|
||||||
from .services import UserService, AuthService, PhotoService
|
from .services import UserService, AuthService, PhotoService
|
||||||
from .containers import Application
|
from .containers import Application
|
||||||
|
|
||||||
|
|
||||||
|
@inject
|
||||||
def main(
|
def main(
|
||||||
email: str,
|
email: str,
|
||||||
password: str,
|
password: str,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user