chore(app/tool): remove constructor in LocalFileOperator
This commit is contained in:
parent
d644d976b0
commit
b9df45bc68
@ -42,8 +42,7 @@ class FileOperator(Protocol):
|
|||||||
class LocalFileOperator(FileOperator):
|
class LocalFileOperator(FileOperator):
|
||||||
"""File operations implementation for local filesystem."""
|
"""File operations implementation for local filesystem."""
|
||||||
|
|
||||||
def __init__(self, encoding: str = "utf-8"):
|
encoding: str = "utf-8"
|
||||||
self.encoding = encoding
|
|
||||||
|
|
||||||
async def read_file(self, path: PathLike) -> str:
|
async def read_file(self, path: PathLike) -> str:
|
||||||
"""Read content from a local file."""
|
"""Read content from a local file."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user