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 1- """AppConfig (merged view) GQL output types (BEP-1052 §5) ."""
1+ """AppConfig (merged view) GQL output types."""
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 (
2225 BackendAIGQLMeta (
2326 added_version = NEXT_RELEASE_VERSION ,
2427 description = (
25- "Merged per-user AppConfig view (BEP-1052 §5) . `fragments` are ordered "
28+ "Merged per-user AppConfig view. `fragments` are ordered "
2629 "low → high merge priority; `config` is the deep-merge result and is "
2730 "null when every contributing fragment is empty."
2831 ),
@@ -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