ashb commented on code in PR #28926:
URL: https://github.com/apache/airflow/pull/28926#discussion_r1069997333
##########
airflow/timetables/simple.py:
##########
@@ -55,6 +55,9 @@ def serialize(self) -> dict[str, Any]:
def infer_manual_data_interval(self, *, run_after: DateTime) ->
DataInterval:
return DataInterval.exact(run_after)
+ def validate(self):
Review Comment:
I suspect we are "unusual" in inheriting from a Protocol (we are treating it
somewhat like an ABC) and I guess mypy is somehow ignoring the methods on here.
--
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]