Skip to content

Commit 4f4eb75

Browse files
committed
add another comment
1 parent dbe7970 commit 4f4eb75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/service-library/src/servicelib/fastapi/monitoring.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ async def dispatch(
5656
response = await call_next(request)
5757
status_code = response.status_code
5858

59+
# path_params are not available before calling call_next
5960
# https://github.com/encode/starlette/issues/685#issuecomment-550240999
6061
for k, v in request.path_params.items():
6162
key = "{" + k + "}"

0 commit comments

Comments
 (0)