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

SQLAlchemy integration with marshmallow

Results 73 marshmallow-sqlalchemy issues
Sort by recently updated
recently updated
newest added

I have the following SQLAlchemy Models: ```py class User(db.Model): __tablename__ = "user" id = db.Column(db.Integer, primary_key=True) email = db.Column(db.String(30), unique=True, nullable=False) password = db.Column(db.String(60), nullable=False) todos = db.relationship("ToDo", uselist=True, cascade...

Bumps [flake8](https://github.com/pycqa/flake8) from 4.0.1 to 5.0.4. Commits 6027577 Release 5.0.4 213e006 Merge pull request #1653 from asottile/lower-bound-importlib-metadata e94ee2b require sufficiently new importlib-metadata 318a86a Merge pull request #1646 from televi/main 7b8b374...

dependencies

Is it possible to set the schema.partial attribute in the Meta class for SQLAlchemyAutoSchemas? I would like to use SQLALchemyAutoSchemas with frameworks that don't allow me to set `partial=True` in...

Once `include_fk` is set to `True` anywhere in the MRO of a schema, it cannot be disabled. As a workaround, it can be excluded (e.g. `exclude = ('author_id',)`). Minimal reproducible...

bug

Example solution to https://github.com/marshmallow-code/marshmallow-sqlalchemy/issues/440

Hello! I am having some problems with using a composite key in a one-to-many relationship table. I have a model 'Character' with a field "alternative_name" which is a list of...

I have a case where marshmallow-sqlalchemy causes an SQLAlchemy FlushError at session commit time. This is the error I get: ``` sqlalchemy.orm.exc.FlushError: New instance with identity key (, (1,), None)...

``` raise ModelConversionError( E marshmallow_sqlalchemy.exceptions.ModelConversionError: Could not find field column of type . ```

bug

I use the serializer.load() function to validate my data and instantiate the SQLAlchemy object. If I try to set the Enum field as an Integer and load, then it throws:...

![HELP](https://pp.userapi.com/c836321/v836321919/4495a/cAqKeht2iUE.jpg) I ran into a problem. When I use instance, I get a field type of enum. ``` print(UserSchema().load({}, instance=user).data.status) # ``` But if I use data, I get a...