Black
This commit is contained in:
parent
da05dfe708
commit
4de97abc3a
2676 changed files with 163166 additions and 140084 deletions
|
@ -5,6 +5,7 @@ import logging
|
|||
|
||||
# mypy: allow-untyped-defs, no-check-untyped-defs
|
||||
|
||||
|
||||
class KeywordMessage:
|
||||
"""
|
||||
Represents a logging message with keyword arguments.
|
||||
|
@ -46,6 +47,7 @@ class KeywordStyleAdapter(logging.LoggerAdapter):
|
|||
k: kwargs[k]
|
||||
for k in inspect.getfullargspec(
|
||||
self.logger._log # pylint: disable=protected-access
|
||||
).args[1:] if k in kwargs
|
||||
}
|
||||
).args[1:]
|
||||
if k in kwargs
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue