Skip to content

Commit

Permalink
Updated doc stirng
Browse files Browse the repository at this point in the history
  • Loading branch information
k-macmillan committed Dec 3, 2024
1 parent f9cd0ca commit ef9b05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notifications_utils/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,6 @@ def filter(self, record):
def _get_api_id() -> str:
"""Generate a request_id.
g is a global for this request. It is attached to the Flask and is only persisted for that request.
g is a Flask global for this request. It's attached to the Flask instance and is only persisted for that request
"""
return g.request_id if getattr(g, 'request_id', '') else str(uuid4())

0 comments on commit ef9b05e

Please sign in to comment.