Fokko commented on a change in pull request #4756: [AIRFLOW-3677] Improve check
operator module test coverage
URL: https://github.com/apache/airflow/pull/4756#discussion_r268409248
##########
File path: airflow/operators/check_operator.py
##########
@@ -215,8 +223,7 @@ def __init__(
self.days_back = -abs(days_back)
self.conn_id = conn_id
sqlexp = ', '.join(self.metrics_sorted)
- sqlt = ("SELECT {sqlexp} FROM {table}"
- " WHERE {date_filter_column}=").format(**locals())
+ sqlt = "SELECT {sqlexp} FROM {table} WHERE
{date_filter_column}=".format(**locals())
Review comment:
Can we get rid of `**locals()` here and be explicit?
----------------------------------------------------------------
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