You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exclude in Meta works as expected, but the partial does not. I'm also using flask_smorest, so of course I can define this at the request level, e.g.
@blueprint.arguments(UpdateSchema(partial=True))
but it would be nice to be able to define it at the class-level, especially if the partial configuration is more complex and perhaps the schema is used in multiple places.
The text was updated successfully, but these errors were encountered:
It doesn't seem to be possible to configure a default
partial
property in theMeta
class. Is there a reason for this?It would be nice to be able to follow a pattern as follows:
The
exclude
inMeta
works as expected, but thepartial
does not. I'm also usingflask_smorest
, so of course I can define this at the request level, e.g.but it would be nice to be able to define it at the class-level, especially if the partial configuration is more complex and perhaps the schema is used in multiple places.
The text was updated successfully, but these errors were encountered: