Merged
Conversation
- Introduced `encode_complex_type` and `decode_complex_type` functions to handle serialization and deserialization of complex types (datetime, date, time, timedelta, Decimal, bytes, UUID, set). - Removed legacy JSON encoder/decoder functions from `serializers.py` and replaced their usage with the new functions. - Updated tests to validate the new serialization logic for various complex types. - Added error handling for unsupported types during encoding. - Enhanced import handling for optional dependencies in Alembic scripts.
This was
linked to
issues
Jan 23, 2026
Bug: SQLAlchemy's
StatementError (or OperationalError) is incorrectly wrapped as IntegrityError
#606
Closed
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #661 +/- ##
==========================================
+ Coverage 79.08% 80.04% +0.95%
==========================================
Files 99 99
Lines 7922 7836 -86
Branches 1073 1050 -23
==========================================
+ Hits 6265 6272 +7
+ Misses 1316 1233 -83
+ Partials 341 331 -10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
4 tasks
Signed-off-by: Cody Fincher <204685+cofin@users.noreply.github.com>
…ty issues with Python 3.12+
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Detailed Changes
Repository & Caching Refactor
Bug Fixes
StatementError(orOperationalError) is incorrectly wrapped asIntegrityError#606 (Error Misclassification):