mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-08-26 16:40:40 +03:00
lint code
This commit is contained in:
parent
a99a0e780b
commit
ffccf8fda0
@ -10,6 +10,7 @@ from whenever._whenever import Instant
|
|||||||
|
|
||||||
from app.utils.singleton import SingletonMetaNoArgs
|
from app.utils.singleton import SingletonMetaNoArgs
|
||||||
|
|
||||||
|
|
||||||
class RotatingBytesLogger:
|
class RotatingBytesLogger:
|
||||||
"""Logger that respects RotatingFileHandler's rotation capabilities."""
|
"""Logger that respects RotatingFileHandler's rotation capabilities."""
|
||||||
|
|
||||||
@ -94,4 +95,4 @@ class AppStructLogger(metaclass=SingletonMetaNoArgs):
|
|||||||
self._logger = structlog.get_logger()
|
self._logger = structlog.get_logger()
|
||||||
|
|
||||||
def get_logger(self) -> structlog.BoundLogger:
|
def get_logger(self) -> structlog.BoundLogger:
|
||||||
return self._logger
|
return self._logger
|
||||||
|
Loading…
x
Reference in New Issue
Block a user