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

Peewee ORM integration with the marshmallow (de)serialization library.

Results 6 marshmallow-peewee issues
Sort by recently updated
recently updated
newest added

# The Output/Traceback ``` 1 {'active': True, 'created': '2022-06-02T21:04:07.061651', 'id': '1', 'name': 'Mike', 'rating': 0, 'role': '1', 'title': None} Traceback (most recent call last): File "/Users/cforadas/PycharmProjects/flask_blueprint_testing/app.py", line 49, in result...

- Simple implementation of a `djangorestframework` inspired `StringRelatedField` class - The field is serializable-only per default - A callable can be passed in to deserialize the string - Optionally a...

Hi. I think marshmallow-peewee may provide option that serialize (and deserialize) ForeignKey fields with `_id` suffix. On API we have: ```json { "id": "1", "title": "The Chronicles of Narnia", "author":...

Schema with custom full_path and url ``` class FileSchema(ModelSchema): storage = Related(required=True) mime = Related() user_id = fields.Int() user = Related(load_only=True) full_path = fields.FormattedString('{path}{name}') url = fields.FormattedString(S3_ENDPOINT_URL +'/{storage.bucket}/{path}{name}') class Meta:...

Hi! Sometimes we've got an empty field value in incoming data. And if this field maps on database model field which has default value or null param is set to...

Bumps [setuptools](https://github.com/pypa/setuptools) from 67.6.0 to 70.0.0. Changelog Sourced from setuptools's changelog. v70.0.0 Features Emit a warning when [tools.setuptools] is present in pyproject.toml and will be ignored. -- by :user:SnoopJ (#4150)...

dependencies