9 lines
235 B
Python
9 lines
235 B
Python
from injector import Binder, Module, singleton
|
|
|
|
from .services.AiService import AiService
|
|
|
|
|
|
class InjectorModule(Module):
|
|
def configure(self, binder: Binder) -> None:
|
|
binder.bind(AiService, to=AiService(), scope=singleton)
|