Skip to content

Commit dc8d056

Browse files
committed
fix space issue
1 parent 059b42b commit dc8d056

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/example-fastmcp-mcp/src/auth0/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def exception_handlers(self) -> dict[int | type[Exception], Callable[[Request, E
9191
Exception: self._generic_exception_handler,
9292
}
9393

94-
def _auth_error_handler(self, request: Request, exc: Exception) -> JSONResponse:
94+
def _auth_error_handler(self, request: Request, exc: Exception) -> JSONResponse:
9595
"""
9696
Handle auth errors: malformed authorization requests, missing auth, invalid tokens, and insufficient scopes.
9797
"""
@@ -107,7 +107,7 @@ def _auth_error_handler(self, request: Request, exc: Exception) -> JSONResponse
107107
headers={"WWW-Authenticate": self._build_www_authenticate_header(exc.error_code, exc.description, include_resource_metadata)},
108108
)
109109

110-
def _generic_exception_handler(self, request:Request, exc: Exception):
110+
def _generic_exception_handler(self, request: Request, exc: Exception) -> JSONResponse:
111111
"""
112112
Fallback handler for all other exceptions.
113113
"""

0 commit comments

Comments
 (0)