Pessoal, Alguém consegue me ajudar?
repositório: https://github.com/xing-wang-kai/AIRFLOW_AUTO_EXTRACTOR
Mesmo definido a configurações corretas estou com esse erro não econtrar a conn
venv) kai@kaiwangairflow:~/Documents/PROJETOS/twitter_extractor_airflow$ python3 airflow_twitter/operators/twitter_operator.py
this is connID twitter_default
this is connID twitter_default
Traceback (most recent call last):
File "airflow_twitter/operators/twitter_operator.py", line 47, in <module>
twitter_operator.execute(twitter_instance.task_id)
File "airflow_twitter/operators/twitter_operator.py", line 25, in execute
for pg in TwitterHook(start_time, end_time, query).run():
File "/home/kai/Documents/PROJETOS/twitter_extractor_airflow/airflow_twitter/hook/twitter_hook.py", line 106, in run
session = self.get_conn()
File "/home/kai/Documents/PROJETOS/twitter_extractor_airflow/venv/lib/python3.8/site-packages/airflow/providers/http/hooks/http.py", line 68, in get_conn
conn = self.get_connection(self.http_conn_id)
File "/home/kai/Documents/PROJETOS/twitter_extractor_airflow/venv/lib/python3.8/site-packages/airflow/hooks/base.py", line 67, in get_connection
conn = Connection.get_connection_from_secrets(conn_id)
File "/home/kai/Documents/PROJETOS/twitter_extractor_airflow/venv/lib/python3.8/site-packages/airflow/models/connection.py", line 430, in get_connection_from_secrets
raise AirflowNotFoundException(f"The conn_id `{conn_id}` isn't defined")
airflow.exceptions.AirflowNotFoundException: The conn_id `twitter_default` isn't defined
(venv) kai@kaiwangairflow:~/Documents/PROJETOS/twitter_extractor_airflow$