Skip to content

Commit 71c0fbd

Browse files
authored
Remove "modern FastAPI" in the docstrings (#75)
1 parent 6b368fa commit 71c0fbd

File tree

10 files changed

+11
-10
lines changed

10 files changed

+11
-10
lines changed

backend/python/app/routers/driver_assignment_routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async def get_driver_assignments(
2727
),
2828
) -> list[DriverAssignmentRead]:
2929
"""
30-
Get all driver assignments - Modern FastAPI approach
30+
Retrieve all driver assignments
3131
"""
3232
try:
3333
driver_assignments = await driver_assignment_service.get_driver_assignments(

backend/python/app/routers/entity_routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ async def get_entities(
1717
entity_service: EntityService = Depends(get_entity_service),
1818
) -> list[EntityRead]:
1919
"""
20-
Get all entities - Modern FastAPI approach
20+
Retrieve all entities
2121
"""
2222
try:
2323
entities = await entity_service.get_entities(session)

backend/python/app/routers/route_group_routes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ async def get_route_groups(
2525
route_group_service: RouteGroupService = Depends(get_route_group_service),
2626
) -> list[dict]:
2727
"""
28-
Get all route groups - Modern FastAPI approach
28+
Retrieve all route groups, optionally filtered by date range.
29+
Can include associated routes in the response.
2930
"""
3031
try:
3132
route_groups = await route_group_service.get_route_groups(

backend/python/app/routers/simple_entity_routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async def get_simple_entities(
2121
simple_entity_service: SimpleEntityService = Depends(get_simple_entity_service),
2222
) -> list[SimpleEntityRead]:
2323
"""
24-
Get all simple entities - Modern FastAPI approach
24+
Retrieve all simple entities
2525
"""
2626
try:
2727
simple_entities = await simple_entity_service.get_simple_entities(session)

backend/python/app/services/implementations/driver_assignment_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
class DriverAssignmentService:
15-
"""Modern FastAPI-style driver assignment service"""
15+
"""Service for managing driver assignments to routes"""
1616

1717
def __init__(self, logger: logging.Logger):
1818
self.logger = logger

backend/python/app/services/implementations/driver_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
class DriverService:
16-
"""Modern FastAPI-style driver service"""
16+
"""Service for managing drivers with Firebase authentication integration"""
1717

1818
def __init__(self, logger: logging.Logger):
1919
self.logger = logger

backend/python/app/services/implementations/entity_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
class EntityService:
10-
"""Modern FastAPI-style entity service"""
10+
"""Service for managing generic entities"""
1111

1212
def __init__(self, logger: logging.Logger):
1313
self.logger = logger

backend/python/app/services/implementations/job_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
class JobService:
14-
"""Modern FastAPI-style job service"""
14+
"""Service for managing route generation jobs and their progress"""
1515

1616
def __init__(self, logger: logging.Logger, session: AsyncSession):
1717
self.logger = logger

backend/python/app/services/implementations/location_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
class LocationService:
12-
"""Modern FastAPI-style location service"""
12+
"""Service for managing delivery locations with geocoding support"""
1313

1414
def __init__(self, logger: logging.Logger, google_maps_client: GoogleMapsClient):
1515
self.logger = logger

backend/python/app/services/implementations/simple_entity_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
class SimpleEntityService:
14-
"""Modern FastAPI-style simple entity service"""
14+
"""Service for managing simple entities"""
1515

1616
def __init__(self, logger: logging.Logger):
1717
self.logger = logger

0 commit comments

Comments
 (0)