We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eec6e45 + 4950853 commit 1004d86Copy full SHA for 1004d86
project_setup.py
@@ -50,7 +50,7 @@ def setup(
50
if use_sqlite:
51
# uploading db file to s3:
52
if CE_MODE:
53
- s3 = boto3.client("s3")
+ s3 = boto3.client("s3") if not os.getenv("S3_ENDPOINT_URL") else boto3.client('s3', endpoint_url=os.getenv("S3_ENDPOINT_URL"))
54
bucket_name = Path(mlrun.mlconf.artifact_path).parts[1]
55
# Upload the file
56
s3.upload_file(
0 commit comments