Skip to content

Commit

Permalink
fixed merging issue
Browse files Browse the repository at this point in the history
  • Loading branch information
blublinsky committed Nov 27, 2024
1 parent a95b07e commit 01f79b8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def __init__(
# Add data access and statistics to the processor parameters
self.transform_params = transform_parameters
self.transform_params["data_access"] = self.data_access
self.transform_params["data_access_factory"] = data_access_factory
self.is_folder = is_folder

def process_file(self, f_name: str) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self, config: dict[str, Any]):
# Empty pipeline
self.logger.error("Pipeline transform with empty list")
raise UnrecoverableException("Pipeline transform with empty list")
self.data_access_factory = config.get("data_access", None)
self.data_access_factory = config.get("data_access_factory", None)
if self.data_access_factory is None:
self.logger.error("pipeline transform - Data access factory is not defined")
raise UnrecoverableException("pipeline transform - Data access factory is not defined")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ def __init__(self, params: dict[str, Any]):
self.filter = None
self.logger = get_logger(__name__)



def get_transform_config(
self, data_access_factory: DataAccessFactoryBase, statistics: TransformStatistics, files: list[str]
) -> dict[str, Any]:
Expand Down

0 comments on commit 01f79b8

Please sign in to comment.