tirkarthi commented on issue #48698:
URL: https://github.com/apache/airflow/issues/48698#issuecomment-2774812578

   Sorry, I missed the logs and it seems to be not formatted. The issues seems 
to be as below where the deserialization takes seconds as None for timedelta. 
This seems to be fixed in 97d62ee64e997acfa84791d6aa730cf6ed596c0b (PR #46766) 
and also backported to 2.10 in #46822
   
   ```
   python                            
   Python 3.11.11 (main, Dec  4 2024, 08:55:08) [GCC 9.4.0] on linux
   Type "help", "copyright", "credits" or "license" for more information.
   >>> import datetime
   >>> datetime.timedelta(seconds=None) 
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   TypeError: unsupported type for timedelta seconds component: NoneType
   ```
   
   
   ```
   File 
"/Users/mac-XXX/standalone-airflow/.venv/lib/python3.11/site-packages/airflow/serialization/serialized_objects.py",
 line 1436, in deserialize_operator
   cls.populate_operator(op, encoded_op) 
   File 
"/Users/mac-XXX/standalone-airflow/.venv/lib/python3.11/site-packages/airflow/serialization/serialized_objects.py",
 line 1300, in populate_operator
   v = cls._deserialize_timedelta(v)
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File 
"/Users/mac-XXX/standalone-airflow/.venv/lib/python3.11/site-packages/airflow/serialization/serialized_objects.py",
 line 910, in _deserialize_timedelta
   return datetime.timedelta(seconds=seconds)
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   TypeError: unsupported type for timedelta seconds component: NoneType 
   ```


-- 
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]

Reply via email to