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

SQLAlchemy integration with marshmallow

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

Hey! Thanks for the library. I have what may be a naive question: I have a scenario in which I'm * using marshmallow-sqlalchemy `SQLAlchemySchema` along with `auto_field` * using a...

Hi! I'm trying to use marshmallow-sqlalchemy with aiohttp and following the docs with the basic example I'm getting an error. I have this schema: ``` from marshmallow_sqlalchemy import SQLAlchemyAutoSchema from...

question

An example can be found on the main doc page (https://marshmallow-sqlalchemy.readthedocs.io/en/latest/) ``` author = Author(name="Chuck Paluhniuk") author_schema = AuthorSchema() book = Book(title="Fight Club", author=author) session.add(author) session.add(book) session.commit() dump_data = author_schema.dump(author)...

Hi! In our project we're using SQLAlchemy's [ShardedSession](https://docs.sqlalchemy.org/en/13/orm/extensions/horizontal_shard.html?highlight=shard#sqlalchemy.ext.horizontal_shard.ShardedSession) to handle read/write replicas handling. It works fine with SQLAlchemy and Flask-SQLAlchemy (all CRUD operations run on the write replica unless set_shard()...

As far as I can interpret the code correctly, I believe that there is no serialising happening at all for columns provided to a `Related` field. From `class Related(fields.Field):` ```...

Hello, I am building my first api, from a quite complex model (45+ domain objects) - and I would to know if marshmallow could fit my need as I have...

question

I didn't investigate this. I don't know if there would be an issue with this. Basically, when I have a model with ```py creation_date = sqla.Column(sqla.DateTime(timezone=True), nullable=False) ``` I need...

Hey everyone! I'm trying to persist a schema that has a one-to-many relationship. For example, I am persisting a 'product' that can have many 'categories' I have defined the Schemas...

I intend to use the same schema for loading and dumping. An example structure for this use case is: `Author -< Book` ### Loading AuthorSchema field: `books = RelatedList(Related(), attribute='books')`...

Thanks to [this MR](https://github.com/marshmallow-code/marshmallow-sqlalchemy/pull/380), it is now possible to define `load_instance` at the instance level (`MySchema(load_instance=False)`). However, as far as I can tell, this setting is not inherited by nested...