Skip to content

Commit 96c2ec9

Browse files
fix lint issue
1 parent 4e26dfb commit 96c2ec9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/python/readme_metrics/fastapi.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ async def preamble(self, request):
5858
self.config.LOGGER.exception(e)
5959

6060
async def dispatch(self, request: Request, call_next):
61-
if request.method == "OPTIONS" or self.config.GROUPING_FUNCTION(request) is None:
61+
if (
62+
request.method == "OPTIONS"
63+
or self.config.GROUPING_FUNCTION(request) is None
64+
):
6265
return await call_next(request)
6366

6467
await self.preamble(request)

0 commit comments

Comments
 (0)