Rewriting comments
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# contains the schema definitions for the aggregate service
|
||||
# contains the schema definitions for the config service
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
|
||||
@@ -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:
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user