Steven Loria

Results 329 comments of Steven Loria

There's discussion on https://github.com/marshmallow-code/marshmallow/issues/1315#issuecomment-518090992 to allow `data_key` to be a nested path specified as a list of strings which would address the issue here, I think. Please comment there (or...

https://github.com/adamboche/python-marshmallow-union seems like it might address your use case. It's a bit tricky to get this right--I'm not sure we'll add this to core any time soon.

good catch! the docs mention is definitely an oversight. that should be replaced with direct usage of openapi-spec-validator. PR welcome!

This also prevents Flask-Appbuilder from being compatible with marshmallow>=3.24.0, which caused a regression in Airflow. See https://github.com/apache/airflow/pull/45442#issuecomment-2578324005

@AlphaJack actually, the error you're seeing was [fixed in marshmallow 3.20.1](https://github.com/marshmallow-code/marshmallow/issues/2152). so you should be able to update your marshmallow version to resolve that. Flask-Appbuilder should still support newer versions...

You can deserialize to nested dictionaries for relationships by passing `columns` to `auto_field` ```python from pprint import pprint import sqlalchemy as sa from sqlalchemy.orm import DeclarativeBase, relationship, sessionmaker from marshmallow_sqlalchemy...

We haven't explicitly supported `"iso8601"` and `"rfc822"` (the docs only mention `iso`). But given that they're supported in marshmallow makes sense to support them here, too. looks like the relevant...

also, sorry for the barrage of tiny PRs 😬 some people are pretty opinionated about these little DX things, so i opted for independent PRs so they could be merged...

yes, there are rare cases where stale build files end up in `docs/_build`, but imo the small cost of having to run `make docs-clean` manually for those cases doesn't outweigh...