15 lines
558 B
Python
15 lines
558 B
Python
"""Dependency construction for the Dashboard composition service."""
|
|
|
|
from app.dashboard.service import DashboardService
|
|
from app.inventory.dependencies import get_inventory_service
|
|
from app.locations.dependencies import get_location_map_service
|
|
from app.repairs.dependencies import get_repair_center_service
|
|
|
|
|
|
def get_dashboard_service() -> DashboardService:
|
|
return DashboardService(
|
|
inventory_service=get_inventory_service(),
|
|
repair_center_service=get_repair_center_service(),
|
|
location_service=get_location_map_service(),
|
|
)
|