The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
f6497f8c096c3ba1aa3c8d2bbf160c20f5b3092d / Kaxil Naik <[email protected]>
Allow using dag decorator without arguments

This allow using:

```python
@dag
def my_dag(): ...
```

Currently it fails with:

```
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File 
"/Users/tamara.fingerlin/airflow/dags_manning/syntax_examples/dependencies_examples.py",
 line 29, in <module>
    dependency_syntax()
TypeError: dag.<locals>.wrapper() missing 1 required positional argument: 'f'
```

so currently we need to use:

```python
@dag()
def my_dag(): ...
```

Report URL: https://github.com/apache/airflow/actions/runs/13885624752

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to