File tree Expand file tree Collapse file tree
src/ai/backend/manager/api/gql/app_config/types Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33from __future__ import annotations
44
5- from typing import Any
5+ from typing import TYPE_CHECKING , Annotated
66from uuid import UUID
77
8+ import strawberry
9+ from strawberry .scalars import JSON
10+
811from ai .backend .common .dto .manager .v2 .app_config .response import AppConfigNode
912from ai .backend .common .meta .meta import NEXT_RELEASE_VERSION
1013from ai .backend .manager .api .gql .decorators import (
@@ -45,6 +48,6 @@ class AppConfigGQL(PydanticOutputMixin[AppConfigNode]):
4548 ] = gql_field (
4649 description = "Contributing fragments in merge order (low → high)." ,
4750 )
48- config : dict [ str , Any ] | None = gql_field (
51+ config : JSON | None = gql_field (
4952 description = "Deep-merged configuration, or null when every fragment is empty." ,
5053 )
You can’t perform that action at this time.
0 commit comments