sqlalchemy-json icon indicating copy to clipboard operation
sqlalchemy-json copied to clipboard

Full-featured JSON type with mutation tracking for SQLAlchemy

Results 11 sqlalchemy-json issues
Sort by recently updated
recently updated
newest added

It would be nice if each pypi release had an according git tag so it is easier to see which changes went into a specific release. For example I'm using...

How can you specify server_default for a mutable_json_type ?

This may be related to the questions posed in #21, but I figured it best to post a fresh topic to express how important validation functions are. Coincidentally, it's the...

Hi, Another weakness in sqlalchemy's mutable object support is the fact that `@validates` validators aren't run when nested objects are mutated, meaning changes can bypass validation - far from ideal....

Code to reproduce the exception ``` from sqlalchemy import Column from sqlalchemy import create_engine, null, Integer from sqlalchemy.dialects.sqlite import JSON from sqlalchemy.ext.declarative import declarative_base from sqlalchemy_json import mutable_json_type Base =...

This is a WIP, I pulled this from a separate project that is poetry-based and I'm unsure of the exact commands that will work for a setuptools based project.

I try to get object change using following code, but MutableJSON has no history getted ```python def get_object_changes(obj): """Given a model instance, returns dict of pending changes waiting for database...

Since sqlalchemy 2.0 supports mapped columns, is it possible to add typing support to this library. Currently, if you try : `foo_json: Mapped[Optional[Dict[Any, Any]]] = mapped_column(NestedMutableJson)` You get the following...