Skip to content

Commit

Permalink
fix precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
trhodeos committed Mar 27, 2024
1 parent 1e5c083 commit beb9233
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
13 changes: 7 additions & 6 deletions metaflow/metaflow_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,14 @@ def _get_download_code_package_cmd(self, code_package_url, datastore_type):
# through pypi).
# Instead, just use boto3 which we already have installed.
return (
"%s -c \"import boto3; import os; "
'%s -c "import boto3; import os; '
"boto3.client('s3', endpoint_url=os.getenv(METAFLOW_S3_ENDPOINT_URL))"
".download_file('%s', '%s', 'job.tar')\"") % (
self._python,
bucket,
s3_object,
)
".download_file('%s', '%s', 'job.tar')\""
) % (
self._python,
bucket,
s3_object,
)
elif datastore_type == "azure":
from .plugins.azure.azure_utils import parse_azure_full_path

Expand Down
1 change: 0 additions & 1 deletion metaflow/plugins/aws/aws_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from metaflow.exception import MetaflowException



def parse_s3_full_path(s3_uri):
from urllib.parse import urlparse

Expand Down

0 comments on commit beb9233

Please sign in to comment.