Skip to content

Commit

Permalink
tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
HideakiImamura committed May 21, 2024
1 parent a9b1c23 commit 5443ecd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tutorial/20_recipes/012_artifact_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,13 @@ def objective(trial: optuna.Trial) -> float:
client=boto3.client(
"s3",
aws_access_key_id=os.environ[
"PFS2_AWS_ACCESS_KEY_ID"
"AWS_ACCESS_KEY_ID"
], # Assume that these environment variables are set up properly. The same applies below.
aws_secret_access_key=os.environ["PFS2_AWS_SECRET_ACCESS_KEY"],
endpoint_url=os.environ["PFS2_S3_ENDPOINT"],
aws_secret_access_key=os.environ["AWS_SECRET_ACCESS_KEY"],
endpoint_url=os.environ["S3_ENDPOINT"],
config=Config(connect_timeout=30, read_timeout=30),
),
bucket_name=pfs2_bucket,
bucket_name="example_bucket",
)
Expand Down

0 comments on commit 5443ecd

Please sign in to comment.