mik-laj commented on a change in pull request #6749: [AIRFLOW-6193] Do not use
asserts in Airflow main code
URL: https://github.com/apache/airflow/pull/6749#discussion_r355145960
##########
File path: airflow/executors/dask_executor.py
##########
@@ -33,9 +34,7 @@ class DaskExecutor(BaseExecutor):
"""
def __init__(self, cluster_address=None):
super().__init__(parallelism=0)
- if cluster_address is None:
- cluster_address = conf.get('dask', 'cluster_address')
- assert cluster_address, 'Please provide a Dask cluster address in
airflow.cfg'
+
Review comment:
What's is happened here?
----------------------------------------------------------------
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