(session: SessionDep, id_list: list[int])
| 266 | @require_permissions(permission=SqlbotPermission(role=['admin'])) |
| 267 | @system_log(LogConfig(operation_type=OperationType.DELETE,module=OperationModules.USER,resource_id_expr="id_list")) |
| 268 | async def batch_del(session: SessionDep, id_list: list[int]): |
| 269 | for id in id_list: |
| 270 | await single_delete(session, id) |
| 271 | |
| 272 | @router.put("/language", summary=f"{PLACEHOLDER_PREFIX}language_change", description=f"{PLACEHOLDER_PREFIX}language_change") |
| 273 | @clear_cache(namespace=CacheNamespace.AUTH_INFO, cacheName=CacheName.USER_INFO, keyExpression="current_user.id") |
nothing calls this directly
no test coverage detected