mirror of
https://github.com/revanced/revanced-static-api.git
synced 2025-04-30 06:34:30 +02:00
9 lines
256 B
Python
9 lines
256 B
Python
from dependency_injector import providers, containers
|
|
|
|
from app.api import GitHubApi
|
|
|
|
class ApiContainer(containers.DeclarativeContainer):
|
|
api = providers.Singleton(GitHubApi)
|
|
|
|
def wire_dependencies():
|
|
ApiContainer().wire(modules=["app.generator"]) |