mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 21:00:16 +00:00
12 lines
325 B
Python
12 lines
325 B
Python
|
from utils.apps.manager import listener_service
|
||
|
from utils.mysql import MySQL
|
||
|
from .repositories import SignRepository
|
||
|
from .services import SignServices
|
||
|
|
||
|
|
||
|
@listener_service()
|
||
|
def create_game_strategy_service(mysql: MySQL):
|
||
|
_repository = SignRepository(mysql)
|
||
|
_service = SignServices(_repository)
|
||
|
return _service
|