kevinw66 opened a new issue, #12322:
URL: https://github.com/apache/gravitino/issues/12322

   ### What would you like to be improved?
   
   The Python `Audit` API defines `create_time()` and `last_modified_time()` as
   returning `datetime`, while `AuditDTO` currently keeps the corresponding
   timestamp values as strings due to an existing deserialization limitation.
   
   As a result, callers need to parse audit timestamps themselves before using
   them as datetime values.
   
   ### How should we improve?
   
   Update `AuditDTO` to deserialize `createTime` and `lastModifiedTime` into
   `datetime` values and serialize them back to ISO-8601 strings.
   
   Add unit tests covering serialization, deserialization, optional values, and
   invalid timestamp input.


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