Fix ty suppression for auth router

This commit is contained in:
Gabriel20xx committed 2026-09-28 22:28:53 +02:00
1 parent db14c02558
commit 64607f7e7a
1 file changed
+1 -1
@@ -744,6 +744,6 @@ def build_auth_router(
# Expose the session dependency for the project's own non-auth routes to # Expose the session dependency for the project's own non-auth routes to
# reuse (mirrors Go's Service.Require/RequireAdmin being usable as # reuse (mirrors Go's Service.Require/RequireAdmin being usable as
# middleware on any route, not just this router's own). # 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 return router