Skip to content

Commit 9ab0e20

Browse files
jopemachineclaude
andcommitted
refactor(BA-5832): rename extra_config -> config in CLI / SDK and stale GQL leftovers
The CLI helptext (`bulk-create` / `bulk-update`) and a few GQL type fields still referenced `extra_config`; align them with the column rename. Also refresh the schema dump for the residual `extraConfig` fields. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e983832 commit 9ab0e20

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/ai/backend/client/cli/v2/admin/app_config_fragment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async def _run() -> None:
9999
"--items",
100100
required=True,
101101
help=(
102-
"JSON list of `{key: {scope_type, scope_id, name}, extra_config}` items, "
102+
"JSON list of `{key: {scope_type, scope_id, name}, config}` items, "
103103
"or `@path/to/items.json`."
104104
),
105105
)
@@ -129,7 +129,7 @@ async def _run() -> None:
129129
@click.option(
130130
"--items",
131131
required=True,
132-
help="Same shape as `bulk-create`; replaces `extra_config` wholesale.",
132+
help="Same shape as `bulk-create`; replaces `config` wholesale.",
133133
)
134134
def bulk_update(items: str) -> None:
135135
"""Bulk-update fragments (partial-success semantics)."""

src/ai/backend/client/cli/v2/my/app_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def _load_items(items_arg: str) -> list[dict[str, Any]]:
8383
@click.option(
8484
"--items",
8585
required=True,
86-
help="JSON list of `{name, extra_config}` items, or `@path/to/items.json`.",
86+
help="JSON list of `{name, config}` items, or `@path/to/items.json`.",
8787
)
8888
def bulk_create(items: str) -> None:
8989
"""Bulk-create USER-scope fragments; returns recomputed merged views."""
@@ -111,7 +111,7 @@ async def _run() -> None:
111111
@click.option(
112112
"--items",
113113
required=True,
114-
help="Same shape as `bulk-create`; replaces `extra_config` wholesale.",
114+
help="Same shape as `bulk-create`; replaces `config` wholesale.",
115115
)
116116
def bulk_update(items: str) -> None:
117117
"""Bulk-update USER-scope fragments; returns recomputed merged views."""

0 commit comments

Comments
 (0)