potix2 commented on a change in pull request #11531:
URL: https://github.com/apache/airflow/pull/11531#discussion_r505797410
##########
File path: airflow/providers/amazon/aws/hooks/glue.py
##########
@@ -97,14 +97,14 @@ def get_iam_execution_role(self) -> Dict:
self.log.error("Failed to create aws glue job, error: %s",
general_error)
raise
- def initialize_job(self, script_arguments: Optional[List] = None) ->
Dict[str, str]:
+ def initialize_job(self, script_arguments: Optional[dict] = None) ->
Dict[str, str]:
Review comment:
`script_arguments` is passed to `Glue.Client.start_job_run` as
`Arguments` whose type is `dict`.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/glue.html#Glue.Client.start_job_run
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]