bugraoz93 commented on code in PR #44332: URL: https://github.com/apache/airflow/pull/44332#discussion_r1875050610
########## airflow/api_fastapi/common/parameters.py: ########## @@ -112,6 +112,69 @@ def depends(self, only_active: bool = True) -> _OnlyActiveFilter: return self.set_value(only_active) +class DagIdsFilter(BaseParam[list[str]]): + """Filter on dag ids.""" + + def __init__(self, model: Base, value: list[str] | None = None, skip_none: bool = True) -> None: + super().__init__(value, skip_none) + self.model = model + + def to_orm(self, select: Select) -> Select: + if self.value and self.skip_none: Review Comment: I have updated it with `filter_param_factory`. Some of these methods wrongly spawned because I wrongly added them while rebasing, deleted them :) -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org