This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
from pathlib import Path
|
||||
from typing import Final
|
||||
|
||||
from ...base import FileHandler
|
||||
from .base import dump_api_message
|
||||
|
||||
|
||||
class FileHandlerAPI:
|
||||
class FileHandlerAPI(FileHandler):
|
||||
def __init__(self, folder: Path):
|
||||
self.folder: Final = folder
|
||||
|
||||
|
@@ -2,8 +2,10 @@ import logging
|
||||
from pathlib import Path
|
||||
from typing import Final
|
||||
|
||||
from ..base import FileHandler
|
||||
|
||||
class SimpleFileHandler:
|
||||
|
||||
class SimpleFileHandler(FileHandler):
|
||||
def __init__(self, logger: logging.Logger, folder: Path):
|
||||
self.logger: Final = logger
|
||||
self.folder: Final = folder
|
||||
|
Reference in New Issue
Block a user