uranusjr commented on code in PR #41384:
URL: https://github.com/apache/airflow/pull/41384#discussion_r1728770907
##########
airflow/models/taskinstance.py:
##########
@@ -3794,22 +3793,61 @@ def filter_for_tis(tis: Iterable[TaskInstance |
TaskInstanceKey]) -> BooleanClau
return or_(*filter_condition)
@classmethod
- def ti_selector_condition(cls, vals: Collection[str | tuple[str, int]]) ->
ColumnOperators:
+ def ti_selector_condition(TaskInstance, vals: Collection[str | tuple[str,
int]]) -> ColumnOperators:
Review Comment:
Why change this? Using `cls` here is perfectly fine.
--
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]