Skip to content

Conversation

@hailin-lee
Copy link
Contributor

@hailin-lee hailin-lee commented Dec 16, 2024

  • Rewrite enums with additional attributes to remove enum_field with custom encoder/decoder
    • Override __new__ to assign additional attributes to enum members
    • Fix bug that previous enum encoder/decoder do not handle None value
  • Handle None value when encoding/decoding datetime fields
  • Omit fields with None value in JSON serialization

@codecov
Copy link

codecov bot commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.26%. Comparing base (43fc113) to head (1a0bf87).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #52   +/-   ##
=======================================
  Coverage   96.26%   96.26%           
=======================================
  Files          46       46           
  Lines        1044     1044           
=======================================
  Hits         1005     1005           
  Misses         39       39           
Flag Coverage Δ
pytest 96.26% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hailin-lee hailin-lee closed this Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant