Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
steinitzu committed May 14, 2024
1 parent 1f5ccb4 commit cdd613b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions dlt/load/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from dlt.common.configuration import with_config, known_sections
from dlt.common.configuration.resolve import inject_section
from dlt.common.configuration.accessors import config
from dlt.common.pipeline import LoadInfo, LoadMetrics, SupportsPipeline, WithStepInfo, TRefreshMode
from dlt.common.pipeline import LoadInfo, LoadMetrics, SupportsPipeline, WithStepInfo
from dlt.common.schema.utils import get_top_level_table
from dlt.common.schema.typing import TTableSchema
from dlt.common.storages.load_storage import LoadPackageInfo, ParsedLoadJobFileName, TJobState
Expand Down Expand Up @@ -69,7 +69,6 @@ def __init__(
config: LoaderConfiguration = config.value,
initial_client_config: DestinationClientConfiguration = config.value,
initial_staging_client_config: DestinationClientConfiguration = config.value,
refresh: Optional[TRefreshMode] = None,
) -> None:
self.config = config
self.collector = collector
Expand All @@ -81,7 +80,6 @@ def __init__(
self.pool = NullExecutor()
self.load_storage: LoadStorage = self.create_storage(is_storage_owner)
self._loaded_packages: List[LoadPackageInfo] = []
self.refresh = refresh
super().__init__()

def create_storage(self, is_storage_owner: bool) -> LoadStorage:
Expand Down
1 change: 0 additions & 1 deletion dlt/pipeline/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,6 @@ def load(
config=load_config,
initial_client_config=client.config,
initial_staging_client_config=staging_client.config if staging_client else None,
refresh=self.refresh if not self.first_run else None,
)
try:
with signals.delayed_signals():
Expand Down

0 comments on commit cdd613b

Please sign in to comment.