diff --git a/packages/python-backend/src/shared_backend/authproxy.py b/packages/python-backend/src/shared_backend/authproxy.py index d6d29eb..68c9a72 100644 --- a/packages/python-backend/src/shared_backend/authproxy.py +++ b/packages/python-backend/src/shared_backend/authproxy.py @@ -744,6 +744,6 @@ def build_auth_router( # Expose the session dependency for the project's own non-auth routes to # reuse (mirrors Go's Service.Require/RequireAdmin being usable as # middleware on any route, not just this router's own). - router.require_session = require_session # type: ignore[attr-defined] + router.require_session = require_session # ty: ignore[unresolved-attribute] return router