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