eladkal commented on PR #61833:
URL: https://github.com/apache/airflow/pull/61833#issuecomment-3903876183
Great work!
I'm having an issue with trying to run:
```
dag = DAG(
...
schedule="@daily",
deny_dag_run_types=DagRunType.MANUAL
)
```
I get
```
Traceback (most recent call last):
File "/usr/python/lib/python3.11/enum.py", line 714, in __call__
return cls.__new__(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/python/lib/python3.11/enum.py", line 1137, in __new__
raise ve_exc
ValueError: 'm' is not a valid DagRunType
```
It's solved if I change `deny_dag_run_types=[DagRunType.MANUAL]`.
I think we should allow also a single value... It makes things easier and
shouldn't be too hard to fix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]