chore(semantics): checkpoint orphan-reduction hub normalization batch

This commit is contained in:
2026-03-15 22:14:05 +03:00
parent 0bf55885a8
commit 54e90b589b
6 changed files with 87 additions and 79 deletions

View File

@@ -5,8 +5,8 @@
# @PURPOSE: API endpoints for the Dataset Hub - listing datasets with mapping progress
# @LAYER: API
# @RELATION: DEPENDS_ON ->[backend.src.dependencies]
# @RELATION: DEPENDS_ON ->[backend.src.services.resource_service]
# @RELATION: DEPENDS_ON ->[backend.src.core.superset_client]
# @RELATION: DEPENDS_ON ->[backend.src.services.resource_service.ResourceService]
# @RELATION: DEPENDS_ON ->[backend.src.core.superset_client.SupersetClient]
#
# @INVARIANT: All dataset responses include last_task metadata
@@ -121,7 +121,7 @@ class TaskResponse(BaseModel):
# @PARAM: env_id (str) - The environment ID to fetch datasets from
# @PARAM: search (Optional[str]) - Filter by table name
# @RETURN: List[int] - List of dataset IDs
# @RELATION: CALLS ->[backend.src.services.resource_service.ResourceService:get_datasets_with_status]
# @RELATION: CALLS ->[get_datasets_with_status]
@router.get("/ids")
async def get_dataset_ids(
env_id: str,
@@ -178,7 +178,7 @@ async def get_dataset_ids(
# @PARAM: page (Optional[int]) - Page number (default: 1)
# @PARAM: page_size (Optional[int]) - Items per page (default: 10, max: 100)
# @RETURN: DatasetsResponse - List of datasets with status metadata
# @RELATION: CALLS ->[backend.src.services.resource_service.ResourceService:get_datasets_with_status]
# @RELATION: CALLS ->[backend.src.services.resource_service.ResourceService.get_datasets_with_status]
@router.get("", response_model=DatasetsResponse)
async def get_datasets(
env_id: str,