jscheffl commented on code in PR #53431:
URL: https://github.com/apache/airflow/pull/53431#discussion_r2211194951
##########
providers/standard/src/airflow/providers/standard/sensors/date_time.py:
##########
@@ -99,9 +99,6 @@ def poke(self, context: Context) -> bool:
@property
def _moment(self) -> datetime.datetime:
- if isinstance(self.target_time, datetime.datetime):
- return self.target_time
-
Review Comment:
Rationale: Removed as the two documented options in constructor are
converted to `str` during init(), so in this part of code no datetime can land.
--
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]