Skip to content

Commit

Permalink
Merge dicts using 3.8 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
amacal committed Sep 6, 2024
1 parent 7972cf2 commit 1295374
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions tests/unit/test_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,16 @@ def _config_from_settings(settings={}):
profile_cfg = {
"outputs": {
"test": {
"type": "athena",
"s3_staging_dir": S3_STAGING_DIR,
"region_name": AWS_REGION,
"database": DATA_CATALOG_NAME,
"work_group": ATHENA_WORKGROUP,
"schema": DATABASE_NAME,
**{
"type": "athena",
"s3_staging_dir": S3_STAGING_DIR,
"region_name": AWS_REGION,
"database": DATA_CATALOG_NAME,
"work_group": ATHENA_WORKGROUP,
"schema": DATABASE_NAME,
},
**settings,
}
| settings
},
"target": "test",
}
Expand Down

0 comments on commit 1295374

Please sign in to comment.