kaxil commented on a change in pull request #6596: [AIRFLOW-6004] Untangle Executors class to avoid cyclic imports URL: https://github.com/apache/airflow/pull/6596#discussion_r352915706
########## File path: airflow/executors/dask_executor.py ########## @@ -36,9 +35,7 @@ def __init__(self, cluster_address=None): super().__init__(parallelism=0) if cluster_address is None: cluster_address = conf.get('dask', 'cluster_address') - if not cluster_address: - raise ValueError( - 'Please provide a Dask cluster address in airflow.cfg') + assert cluster_address, 'Please provide a Dask cluster address in airflow.cfg' Review comment: Found it: https://github.com/apache/airflow/pull/3690 ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services