From 93770e337dea52fc6571fecc5e90542cbe98db91 Mon Sep 17 00:00:00 2001 From: Kyle MacMillan Date: Tue, 3 Dec 2024 15:54:33 -0500 Subject: [PATCH] Updated to cls param --- notifications_utils/logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifications_utils/logging.py b/notifications_utils/logging.py index 29ab0ed7..bf62969b 100644 --- a/notifications_utils/logging.py +++ b/notifications_utils/logging.py @@ -170,7 +170,7 @@ def filter(self, record): return record @classmethod - def _get_api_id(self) -> str: + def _get_api_id(cls) -> 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.