mattwang44 commented on code in PR #75379:
URL: https://github.com/apache/airflow/pull/75379#discussion_r4429818602
##########
task-sdk/src/airflow/sdk/definitions/dag.py:
##########
@@ -220,14 +222,14 @@ def _convert_access_control(access_control):
def _convert_allowed_run_types(
- val: DagRunType | Collection[DagRunType] | None,
+ val: DagRunType | str | Collection[DagRunType | str] | None,
) -> frozenset[DagRunType] | None:
"""Convert allowed_run_types parameter to a frozenset of DagRunType
values."""
if val is None:
return None
from airflow.sdk.api.datamodels._generated import DagRunType
Review Comment:
treat it as a falsy value in the new commit, thx!
--
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]