Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
danplischke committed Dec 12, 2024
1 parent a86836e commit 42c1328
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ariadne/asgi/handlers/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ async def handle(self, scope: Scope, receive: Receive, send: Send) -> None:
response = await self.handle_request(request)
await response(scope, receive, send)

async def handle_request_override(self, request: Request) -> Optional[Response]:
async def handle_request_override(self, _: Request) -> Optional[Response]:
"""Override the default request handling logic in subclasses.
Is called in the `handle_request` method before the default logic.
If None is returned, the default logic is executed.
# Required arguments:
`request`: the `Request` instance from Starlette or FastAPI.
`_`: the `Request` instance from Starlette or FastAPI.
"""
return None

Expand Down

0 comments on commit 42c1328

Please sign in to comment.