marshmallow-sqlalchemy
marshmallow-sqlalchemy copied to clipboard
SQLAlchemy integration with marshmallow
I have trouble setting up the Schemas to properly deserialize my sqlalchemy models: I have a simpl one to many relationship between study and redcap fields, I set up my...
Hi, When I define SQLAlchemy columns using `enum.Enum` the auto generated marshmallow field fails validation when I try to load: ```python import enum import marshmallow as ma import sqlalchemy as...
I've looked at the documentation [here](https://marshmallow-sqlalchemy.readthedocs.io/en/latest/api_reference.html#marshmallow_sqlalchemy.SQLAlchemySchemaOpts) and under `sqla_session` it says `You can also pass a session to the Schema’s load method.` However, it's unclear how to pass the session...
This look similar to #54. ```py class Model(Base): __tablename__ = "table" field = sqla.Column(sqla.Enum(MyEnum, name="my_enum")) class ModelSchema(AutoSchema): class Meta(AutoSchema.Meta): model = Model # Code works if this line is commented...
This line shows that fields' `required` flag will only depend on whether they are nullable and have a default value: https://github.com/marshmallow-code/marshmallow-sqlalchemy/blob/3754933b49554e6b7aa0ce282b43befb730dd7b2/src/marshmallow_sqlalchemy/convert.py#L427 But we're running into cases where certain fields (eg...
After a fair amount of bissecting to pinpoint this issue, I wanted to surface the fact that our CI unit test suite fails consistently when using >=1.4.0 (in Apache Superset)....
Hi ! I recently had to do some testing on my local for some portion of our code that's been running happily on staging. I didn't specify a version number...