ashb commented on issue #7363: [AIRFLOW-6730] Use total_seconds instead of 
seconds
URL: https://github.com/apache/airflow/pull/7363#issuecomment-582833432
 
 
   Ah - the "native" representation of a timedelta is (days, seconds) so it's 
only giving the wrong value when the delta is >= 1 day. So nothing is likely to 
break as a result of this, but using `d.total_seconds()` is correct (or 
`int(d.total_seconds())`) in some places.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to