I got this error when first run your code. please so me how to fix it.
Opened this issue · 0 comments
nttq1sub commented
Broken DAG: [/opt/airflow/dags/etl_pipeline_dag.py] Traceback (most recent call last): File "/opt/airflow/dags/helpers/connections.py", line 158, in init super().init('postgresql', host, port, db_name, user_name, password) File "/opt/airflow/dags/helpers/connections.py", line 24, in init self.cursor = self.conn.cursor() AttributeError: 'NoneType' object has no attribute 'cursor'.