You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/04/24 14:23:08 UTC

[GitHub] [airflow] mik-laj commented on issue #8538: Verify DAG locally fails when using DAG Variable

mik-laj commented on issue #8538:
URL: https://github.com/apache/airflow/issues/8538#issuecomment-619041011


   You can use fallback when retrieving variables. I am also working on a feature that allows you to store variables in a JSON file.
   https://github.com/apache/airflow/pull/8436
   
   After all, I don't recommend trying to load DAG files directly as scripts.This in some cases can be problematic in Airflow 2.0.  I recommend that you always load files using Airflow. 
   ```
   airflow dags list --subdir airflow/providers/google/cloud/example_dags/example_gcs.py
   ```


----------------------------------------------------------------
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:
users@infra.apache.org