15 lines
566 B
Python
15 lines
566 B
Python
"""Dependency construction for the Miner Detail composition service."""
|
|
|
|
from app.inventory.dependencies import get_inventory_service
|
|
from app.locations.dependencies import get_location_map_service
|
|
from app.miner_detail.service import MinerDetailService
|
|
from app.repairs.dependencies import get_repair_center_service
|
|
|
|
|
|
def get_miner_detail_service() -> MinerDetailService:
|
|
return MinerDetailService(
|
|
inventory_service=get_inventory_service(),
|
|
location_service=get_location_map_service(),
|
|
repair_service=get_repair_center_service(),
|
|
)
|