Skip to content

Commit

Permalink
fix: mollify linter
Browse files Browse the repository at this point in the history
  • Loading branch information
a-recknagel authored Feb 22, 2024
1 parent 943c9de commit 169931b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,8 @@ def __init__(
__name__, logger_provider=self._logger_provider
)

def _get_attributes(self, record: logging.LogRecord) -> Attributes:
@staticmethod
def _get_attributes(record: logging.LogRecord) -> Attributes:
attributes = {
k: v
for k, v in vars(record).items()
Expand Down

0 comments on commit 169931b

Please sign in to comment.