(session: SessionDep, current_user: CurrentUser, trans: Trans)
| 132 | |
| 133 | @router.get("/ws", include_in_schema=False) |
| 134 | async def ws_options(session: SessionDep, current_user: CurrentUser, trans: Trans) -> list[UserWs]: |
| 135 | return await user_ws_options(session, current_user.id, trans) |
| 136 | |
| 137 | @router.put("/ws/{oid}", summary=f"{PLACEHOLDER_PREFIX}switch_oid_api", description=f"{PLACEHOLDER_PREFIX}switch_oid_api") |
| 138 | @clear_cache(namespace=CacheNamespace.AUTH_INFO, cacheName=CacheName.USER_INFO, keyExpression="current_user.id") |
nothing calls this directly
no test coverage detected