ashb commented on a change in pull request #6655: [AIRFLOW-6056] Allow
EmrAddStepsOperator to accept job_flow_name as alternative to job_flow_id
URL: https://github.com/apache/airflow/pull/6655#discussion_r352485757
##########
File path: airflow/contrib/hooks/emr_hook.py
##########
@@ -36,6 +36,26 @@ def get_conn(self):
self.conn = self.get_client_type('emr', self.region_name)
Review comment:
```suggestion
if not self.conn:
self.conn = self.get_client_type('emr', self.region_name)
```
(and do `self.conn = None` inside `__init__`)
----------------------------------------------------------------
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]
With regards,
Apache Git Services