projects
/
osm
/
common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
201d962
)
Add type hint to logger
69/13669/3
author
Daniel Arndt
<daniel.arndt@canonical.com>
Thu, 13 Jul 2023 13:30:35 +0000
(10:30 -0300)
committer
beierlm
<mark.beierl@canonical.com>
Thu, 13 Jul 2023 17:25:13 +0000
(19:25 +0200)
Change-Id: Ic8318cc71324deb34e0fc70963eae78e6b79a6ba
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
osm_common/temporal/workflows/base.py
patch
|
blob
|
history
diff --git
a/osm_common/temporal/workflows/base.py
b/osm_common/temporal/workflows/base.py
index
44b73be
..
d5d22bf
100644
(file)
--- 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__}")