Skip to content

Commit 70639b8

Browse files
jopemachineclaude
andcommitted
fix(BA-5837): drop unused type:ignore from gql_mutation decorators
`@gql_mutation(...)` doesn't trigger the `[misc]` complaint these ignores were guarding against any longer (mypy now reports `[unused-ignore]`). Strip the comments on the three admin bulk mutation resolvers so typecheck is clean. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c74af00 commit 70639b8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • src/ai/backend/manager/api/gql/app_config_fragment/resolver

src/ai/backend/manager/api/gql/app_config_fragment/resolver/mutation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"and failures are collected per-item (admin only)."
3636
),
3737
)
38-
) # type: ignore[misc]
38+
)
3939
async def admin_bulk_create_app_config_fragments(
4040
info: Info[StrawberryGQLContext],
4141
input: AdminBulkCreateAppConfigFragmentInputGQL,
@@ -53,7 +53,7 @@ async def admin_bulk_create_app_config_fragments(
5353
"(admin only)."
5454
),
5555
)
56-
) # type: ignore[misc]
56+
)
5757
async def admin_bulk_update_app_config_fragments(
5858
info: Info[StrawberryGQLContext],
5959
input: AdminBulkUpdateAppConfigFragmentInputGQL,
@@ -68,7 +68,7 @@ async def admin_bulk_update_app_config_fragments(
6868
added_version=NEXT_RELEASE_VERSION,
6969
description="Cleanup-only deletion; absent keys are no-oped (admin only).",
7070
)
71-
) # type: ignore[misc]
71+
)
7272
async def admin_bulk_purge_app_config_fragments(
7373
info: Info[StrawberryGQLContext],
7474
input: AdminBulkPurgeAppConfigFragmentInputGQL,

0 commit comments

Comments
 (0)