fix
This commit is contained in:
@@ -289,7 +289,6 @@ async def get_dashboard_thumbnail(
|
||||
screenshot_payload = client.network.request(
|
||||
method="POST",
|
||||
endpoint=f"/dashboard/{dashboard_id}/cache_dashboard_screenshot/",
|
||||
json={"force": force},
|
||||
)
|
||||
payload = (
|
||||
screenshot_payload.get("result", screenshot_payload)
|
||||
|
||||
@@ -71,6 +71,7 @@ from src.schemas.dataset_review import (
|
||||
CompiledPreviewDto,
|
||||
ExecutionMappingDto,
|
||||
SemanticFieldEntryDto,
|
||||
SessionDetail,
|
||||
SessionSummary,
|
||||
ValidationFindingDto,
|
||||
)
|
||||
@@ -193,7 +194,7 @@ async def start_session(
|
||||
# @BRIEF Return the full accessible dataset review session aggregate.
|
||||
@router.get(
|
||||
"/sessions/{session_id}",
|
||||
response_model=SessionSummary,
|
||||
response_model=SessionDetail,
|
||||
dependencies=[
|
||||
Depends(_require_auto_review_flag),
|
||||
Depends(has_permission("dataset:session", "READ")),
|
||||
|
||||
Reference in New Issue
Block a user