uranusjr commented on a change in pull request #20163:
URL: https://github.com/apache/airflow/pull/20163#discussion_r766136225
##########
File path: airflow/models/dagrun.py
##########
@@ -398,7 +398,9 @@ def generate_run_id(run_type: DagRunType, execution_date:
datetime) -> str:
@provide_session
def get_task_instances(
- self, state: Optional[Iterable[TaskInstanceState]] = None, session=None
+ self,
+ state: Optional[Iterable[Optional[TaskInstanceState]]] = None,
Review comment:
I suspect subclassing from `str` is the problem here (but we probably
can’t fix that without breaking a ton of things).
--
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]