Skip to content

Commit

Permalink
Harden boto3 object store config handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed May 20, 2024
1 parent 71ca3d6 commit e86ab18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/objectstore/s3_boto3.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ def __init__(self, config, config_dict):

auth_dict = config_dict["auth"]
bucket_dict = config_dict["bucket"]
connection_dict = config_dict.get("connection", {})
connection_dict = config_dict.get("connection") or {}
cache_dict = config_dict.get("cache") or {}
transfer_dict = config_dict.get("transfer", {})
transfer_dict = config_dict.get("transfer") or {}
typed_transfer_dict = {}
for prefix in ["", "upload_", "download_"]:
options: Dict[str, Callable[[Any], Any]] = {
Expand Down

0 comments on commit e86ab18

Please sign in to comment.