mirror of
https://github.com/revanced/revanced-static-api.git
synced 2025-05-01 15:14:37 +02:00
12 lines
259 B
Python
12 lines
259 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"])
|