GitHub user stefanikjabuti edited a comment on the discussion: Could not read
served logs: Invalid URL 'http://:8793....': Not host supplied
My executor is the CeleryExecutor,
and this is my test DAG:
from airflow import DAG
from airflow.operators.python import PythonOperator
from datetime import datetime
def print_hello():
print("Hello, Airflow!")
with DAG(
dag_id='test_hello_airflow',
start_date=datetime(2025, 1, 1), # Data inicial da DAG
schedule_interval='@daily', # Executa diariamente
catchup=False, # Não executar tarefas retroativas
) as dag:
hello_task = PythonOperator(
task_id='say_hello',
python_callable=print_hello
)
GitHub link:
https://github.com/apache/airflow/discussions/45525#discussioncomment-11834590
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]