Skip to content

Commit 830d9c4

Browse files
author
Emerson Antony
committed
event fixces
1 parent 06636d2 commit 830d9c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sparkLambdaHandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def spark_submit(s3_bucket_script: str,input_script: str, event: dict)-> None:
3838
# Source input and output if available in event
3939
input_path = event.get('INPUT_PATH','')
4040
output_path = event.get('OUTPUT_PATH', '')
41-
for key,value in event:
41+
for key,value in event.items():
4242
os.environ[key] = value
4343
# Run the spark-submit command on the local copy of teh script
4444
try:

0 commit comments

Comments
 (0)