ashb commented on issue #6451: [AIRFLOW-5796] Fix case when slot_pool relation 
is missing
URL: https://github.com/apache/airflow/pull/6451#issuecomment-546855284
 
 
   If I put this in my dag:
   
   ```
   
   with dag:
       if Variable.get('x'):
           PythonOperator(task_id='noop', provide_context=True, 
python_callable=print_exec_date_tz)
   
   ```
   
   (which is a trick I have seen used to disable tasks in certain envs) then I 
get an error thrown too.

----------------------------------------------------------------
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

Reply via email to