sqlathanor icon indicating copy to clipboard operation
sqlathanor copied to clipboard

Serialization / De-serialization support for the SQLAlchemy Declarative ORM

Results 13 sqlathanor issues
Sort by recently updated
recently updated
newest added

Hi @insightindustry, I noticed that this arg in `parse_yaml` wasn't being used and since PyYAML doesn't support YAML > 1.2, I'd like to use [ruamel.yaml.load](https://yaml.readthedocs.io/en/latest/overview.html) in it's place. Here's my...

When defining a column_kwargs dict to define a Table, there is no way to pass a text() function to be rendered as it is, as defined in the SQLAlchemy docs...

Problem: I'm experiencing some warnings when I do use `sqlathanor.declarative_base`: SAWarning: Class AnnotatedColumn will not make use of SQL compilation caching as it does not set the 'inherit_cache' attribute to...

Fixing the issue with #110. I believe this may be a bug with SqlAlchemy when using a different base than the one defined by SQA itself... They get the attribute...

Currently, the SQLAthanor test matrix is ungainly and badly designed. This is partially because of the design decision to support Python 2.7 and to support older versions of SQLAlchemy and...

enhancement

PR for release v.0.8.0. Adding Pydantic support and other clean-up / improvements.

I currently have an entity which has a one to one relationship with another entity which is nullable. When I retrieve the entity from the database while there is no...

bug

Currently the [`BaseModel.set_attribute_serialization_config()`](https://sqlathanor.readthedocs.io/en/latest/api.html#sqlathanor.declarative.BaseModel.set_attribute_serialization_config) method is missing documentation for the `config_set` parameter

documentation

Does it make sense to support serialization to (and maybe deserialization from) various documentation formats, including possibly OpenAPI (Swagger)? If so, does it make sense to integrate with documentation platforms...

enhancement

It would be helpful if it were possible to create a serialization configuration set automatically based on a [Pydantic](https://github.com/samuelcolvin/pydantic) model (schema). The specific intended use would be streamline development in...

enhancement