From 3d15b89b953a88d16d2acf6addbeacf0ed751011 Mon Sep 17 00:00:00 2001 From: Pascal Scheiben Date: Thu, 18 Sep 2025 12:05:03 +0200 Subject: [PATCH] Rewriting comments --- src/config/router.py | 2 +- src/config/schema.py | 2 +- src/config/service.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/config/router.py b/src/config/router.py index 0c9b0c2..b2da53f 100644 --- a/src/config/router.py +++ b/src/config/router.py @@ -10,7 +10,7 @@ router = APIRouter(tags=["config"]) @router.post("/config", response_model=ConfigReturnSchema) async def create_config(config: ConfigSchema) -> ConfigSchema: """ - Endpoint to receive and return configuration data. + Endpoint to receive and store configuration data. """ logger.info("Received configuration data") return config diff --git a/src/config/schema.py b/src/config/schema.py index d59c311..fb6e2f1 100644 --- a/src/config/schema.py +++ b/src/config/schema.py @@ -1,4 +1,4 @@ -# contains the schema definitions for the aggregate service +# contains the schema definitions for the config service from pydantic import BaseModel diff --git a/src/config/service.py b/src/config/service.py index cd81419..e5b650f 100644 --- a/src/config/service.py +++ b/src/config/service.py @@ -1,3 +1,3 @@ -# contains the business logic for the aggregate service -async def example_service() -> str: - return "This is an aggregate service" +# contains the business logic for the config service +async def save_config() -> None: + ...