chaokunyang opened a new pull request, #3468:
URL: https://github.com/apache/fory/pull/3468

   ## Summary
   - support typed `tuple[...]` dataclass fields in Python native-mode field 
inference by routing them to `TupleSerializer`
   - serialize instances without `__dict__` as zero-field objects so bare 
`object()` round-trips cleanly
   - add focused regressions for both issues, including empty-object ref 
tracking behavior
   
   ## Testing
   - cd python && ruff format --check pyfory/type_util.py pyfory/struct.py 
pyfory/serializer.py pyfory/tests/test_struct.py pyfory/tests/test_serializer.py
   - cd python && ruff check pyfory/type_util.py pyfory/struct.py 
pyfory/serializer.py pyfory/tests/test_struct.py pyfory/tests/test_serializer.py
   - cd python && ENABLE_FORY_CYTHON_SERIALIZATION=0 pytest -q .
   - cd python && ENABLE_FORY_CYTHON_SERIALIZATION=1 pytest -q .
   
   Closes #3466
   Closes #3467
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to