GitHub user assadali007 created a discussion: anyone know how to handle this 
error

`Bundle Name: dags-folder

01_unscheduled.py
Timestamp: 2026-02-06 03:05:55

Traceback (most recent call last):
  File "<frozen importlib._bootstrap_external>", line 1191, in get_data
  File "/usr/local/lib/python3.12/site-packages/airflow/models/dagbag.py", line 
135, in handle_timeout
    raise AirflowTaskTimeout(error_message)
airflow.exceptions.AirflowTaskTimeout: DagBag import timeout for 
/usr/local/airflow/dags/01_unscheduled.py after 30.0s.
Please take a look at these docs to improve your DAG import time:
* 
http://apache-airflow-docs.s3-website.eu-central-1.amazonaws.com/docs/apache-airflow/stable/best-practices.html#top-level-python-code
* 
http://apache-airflow-docs.s3-website.eu-central-1.amazonaws.com/docs/apache-airflow/stable/best-practices.html#reducing-dag-complexity,
 PID: 9937`

GitHub link: https://github.com/apache/airflow/discussions/61526

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to