fix: update type comment
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
import logging
|
import logging
|
||||||
import logging.handlers
|
import logging.handlers
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Optional
|
from typing import Any, Optional
|
||||||
|
|
||||||
from app.core.config import get_settings
|
from app.core.config import get_settings
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ class TimedRotatingAndSizeFileHandler(logging.handlers.TimedRotatingFileHandler)
|
|||||||
encoding: Optional[str] = None,
|
encoding: Optional[str] = None,
|
||||||
delay: bool = False,
|
delay: bool = False,
|
||||||
utc: bool = False,
|
utc: bool = False,
|
||||||
atTime: Optional[logging.handlers.BaseRotatingHandler.atTime] = None,
|
atTime: Optional[Any] = None,
|
||||||
):
|
):
|
||||||
"""Initialize handler with both time and size rotation.
|
"""Initialize handler with both time and size rotation.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user