edelooff / sqlalchemy-json

Full-featured JSON type with mutation tracking for SQLAlchemy
http://variable-scope.com/posts/mutation-tracking-in-nested-json-structures-using-sqlalchemy
BSD 2-Clause "Simplified" License
189 stars 34 forks source link

Add support for tracking dict merging (Python 3.9) #33

Closed leovp closed 2 years ago

leovp commented 2 years ago

Python 3.9 introduced in-place merging of one dictionary into another via |= (operator __ior__). This RP fixes an issue where changes made via |= aren't detected.

See also: https://www.python.org/dev/peps/pep-0584/#specification

edelooff commented 2 years ago

Thanks for this!