Swalloow commented on a change in pull request #9969:
URL: https://github.com/apache/airflow/pull/9969#discussion_r460297510
##########
File path: airflow/providers/amazon/aws/operators/emr_create_job_flow.py
##########
@@ -70,7 +71,7 @@ def execute(self, context):
if isinstance(self.job_flow_overrides, str):
self.job_flow_overrides = ast.literal_eval(self.job_flow_overrides)
- response = emr.create_job_flow(self.job_flow_overrides)
+ response = emr.create_job_flow(self.job_flow_overrides) # type:
ignore
Review comment:
@mik-laj Thanks for review, I missed it.
In this line `job_flow_overrides` is converted to a dict by the ast module,
but with the above type mypy crash occurred.
Is there any way to tell mypy about it? I just annotated ignore.
----------------------------------------------------------------
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]