You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: prevent AttributeError when schema_dump receives None values (#530)
has_dict_attribute() was incorrectly returning True for None due to
protocol checking behavior, causing schema_dump(None) to fail with
AttributeError when trying to access None.__dict__.
This affected nullable database fields using StoredObject types during
JSON serialization. The fix adds an explicit None check before the
protocol isinstance check.
- Add explicit None check to has_dict_attribute()
- Add test case verifying None values are handled correctly
0 commit comments