title: DAG is not visible on Airflow UI
body: <p>This is my dag file in <code>dags</code> folder.</p>
  
  <pre><code>Code that goes along with the Airflow located at:
  http://airflow.readthedocs.org/en/latest/tutorial.html
  """
  from airflow import DAG
  from airflow.operators.dummy_operator import DummyOperator
  from airflow.operators.python_operator import PythonOperator
  from datetime import datetime, timedelta
  from work_file import Test
  
  
  class Main(Test):
      def __init__(self):
          super(Test, self).__init__()
  
      def create_dag(self):
          default_args = {
              "owner": "airflow",
              "depends_on_past": False,
              "start_date": datetime(2015, 6, 1),
              "email": ["airflow@airflow.com"],
              "email_on_failure": False,
              "email_on_retry": False,
              "retries": 1,
              "retry_delay": timedelta(minutes=5),
              # 'queue': 'bash_queue',
              # 'pool': 'backfill',
              # 'priority_weight': 10,
              # 'end_date': datetime(2016, 1, 1),
          }
          dag = DAG("python_dag", default_args=default_args, schedule_interval='0 * * * *')
  
          dummy_task = DummyOperator(task_id='dummy_task', retries=3)
  
          python_task = PythonOperator(task_id='python_task', python_callable=self.my_func)
  
          dummy_task &gt;&gt; python_task
  
  
  if __name__ == "__main__":
      a = Main()
      a.create_dag()
  </code></pre>
  
  <p><strong>This is my other file <code>work_file.py</code> which is in the same <code>dags</code> folder.</strong></p>
  
  <pre><code>class Test:
      def __init__(self):
          pass
  
      def my_func(self):
          return "Hello"
  </code></pre>
  
  <p><strong>Aim</strong>:-The Aim is to call the <code>my_func</code> from my dag file.</p>
  
  <p><strong>Problem</strong>:- There seems to be no error on the UI,but my dag <code>python_dag</code> is not visible.</p>
  
  <p>My server, scheduler is also running, I've tried restarting the same but nothing happened.</p>
  
  <p>I have imported the file as well (<code>from work_file import Test</code>)</p>
  
  <p>Thanks in advance!</p>