From 35f134b6667284fbec2910b06f13923a18937d0d Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 13 Jul 2023 10:30:35 -0300 Subject: [PATCH] Add type hint to logger Change-Id: Ic8318cc71324deb34e0fc70963eae78e6b79a6ba Signed-off-by: Daniel Arndt --- osm_common/temporal/workflows/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osm_common/temporal/workflows/base.py b/osm_common/temporal/workflows/base.py index 44b73be..d5d22bf 100644 --- a/osm_common/temporal/workflows/base.py +++ b/osm_common/temporal/workflows/base.py @@ -17,8 +17,9 @@ from abc import ABC import logging +from logging import Logger class BaseWorkflow(ABC): def __init__(self): - self.logger = logging.getLogger(f"lcm.wfl.{self.__class__.__name__}") + self.logger: Logger = logging.getLogger(f"lcm.wfl.{self.__class__.__name__}") -- 2.25.1