pankajastro commented on code in PR #38081:
URL: https://github.com/apache/airflow/pull/38081#discussion_r1524702056
##########
airflow/providers/cncf/kubernetes/operators/pod.py:
##########
@@ -773,12 +777,14 @@ def _clean(self, event: dict[str, Any]):
def execute_complete(self, context: Context, event: dict, **kwargs):
self.trigger_reentry(context=context, event=event)
- def write_logs(self, pod: k8s.V1Pod):
+ def write_logs(self, pod: k8s.V1Pod, follow: bool = False, since_time:
DateTime | None = None):
try:
+ since_seconds = math.ceil((pendulum.now() -
since_time).total_seconds()) if since_time else None
Review Comment:
right, I have removed pendulum. thanks
--
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]