Getting error while running the airflow DAG code in visual studio code.
Error
ImportError: cannot import name 'DummyOperator' from 'airflow.operators' (c:\Users\10679196\AppData\Local\Programs\Python\Python38\lib\site-packages\airflow\operators\__init__.py)
Import Statement
from airflow import DAG
from airflow.operators import DummyOperator
Version
apache-airflow : 2.4.2
python : 3.8.1
pip : 22.3
pip install apache-airflow
or add it to your requirements file – Sirloin