Skip to content

Commit 13dfdd6

Browse files
assign variables explicitly
1 parent d397405 commit 13dfdd6

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

scripts/jobs/data_and_insight/icaseworks_ingest_to_raw.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@
3232
]
3333
partition_keys = ["import_year", "import_month", "import_day", "import_date"]
3434

35-
3635
args = getResolvedOptions(sys.argv, arg_keys)
37-
locals().update(args)
38-
39-
### iCaseworks Loads
40-
4136

42-
### Functions ###
37+
region_name = args["region_name"]
38+
s3_endpoint = args["s3_endpoint"]
39+
s3_target_location = args["s3_target_location"]
40+
s3_staging_location = args["s3_staging_location"]
41+
target_database = args["target_database"]
42+
target_table = args["target_table"]
43+
secret_name = args["secret_name"]
4344

4445

4546
def remove_illegal_characters(string):

0 commit comments

Comments
 (0)