Skip to content

Commit

Permalink
Update cosmos/operators/local.py
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Bandoro <[email protected]>
  • Loading branch information
PrimOox and jbandoro authored Feb 23, 2024
1 parent cf7fc6e commit 67203f3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cosmos/operators/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,8 +578,6 @@ def upload_to_cloud_storage(self, project_dir: str) -> None:
s3_path = f"s3://{self.bucket_name}/{key}"
logger.info("Uploading %s to %s", filename, s3_path)

Check warning on line 579 in cosmos/operators/local.py

View check run for this annotation

Codecov / codecov/patch

cosmos/operators/local.py#L578-L579

Added lines #L578 - L579 were not covered by tests

key = f"{self.folder_dir}/{filename}" if self.folder_dir else filename

hook.load_file(
filename=f"{target_dir}/{filename}",
bucket_name=self.bucket_name,
Expand Down

0 comments on commit 67203f3

Please sign in to comment.