Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
fix(s3): filesystem derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
Vixtir authored Jul 12, 2023
1 parent 301833c commit 927e89b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions odd_collector_aws/adapters/s3/file_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .utils import file_format


class FileSystem(PyarrowFs):
class FileSystem:
"""
FileSystem hides pyarrow.fs implementation details.
"""
Expand All @@ -27,7 +27,7 @@ def get_folder_as_file(self, dataset_config: DatasetConfig) -> File:
"""
logger.debug(f"Getting folder dataset for {dataset_config=}")

dataset = self.get_dataset(
dataset = self.fs.get_dataset(
path=dataset_config.full_path,
format=dataset_config.folder_as_dataset.file_format,
partitioning_flavor=dataset_config.folder_as_dataset.flavor,
Expand Down

0 comments on commit 927e89b

Please sign in to comment.