We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e26dfb commit 96c2ec9Copy full SHA for 96c2ec9
packages/python/readme_metrics/fastapi.py
@@ -58,7 +58,10 @@ async def preamble(self, request):
58
self.config.LOGGER.exception(e)
59
60
async def dispatch(self, request: Request, call_next):
61
- if request.method == "OPTIONS" or self.config.GROUPING_FUNCTION(request) is None:
+ if (
62
+ request.method == "OPTIONS"
63
+ or self.config.GROUPING_FUNCTION(request) is None
64
+ ):
65
return await call_next(request)
66
67
await self.preamble(request)
0 commit comments