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
When using @use_kwargs with the unknown parameter, to be able to use the unknown parameter of the schema, as described here in the webargs documentation:
class RandomSchema(Schema):
class Meta:
unknown = EXCLUDE
The following exception is raised: TypeError: schema2parameters() got an unexpected keyword argument 'unknown'
Would it be possible for flask_apispec version of @use_kwargs to support this parameter?
I could use the webargs version of @use_kwargs but it won't annotate the schema for swagger isn't it?
The text was updated successfully, but these errors were encountered:
When using
@use_kwargs
with theunknown
parameter, to be able to use the unknown parameter of the schema, as described here in the webargs documentation:@use_kwargs(RandomSchema, location="json", unknown=None)
The following exception is raised:
TypeError: schema2parameters() got an unexpected keyword argument 'unknown'
Would it be possible for flask_apispec version of
@use_kwargs
to support this parameter?I could use the webargs version of
@use_kwargs
but it won't annotate the schema for swagger isn't it?The text was updated successfully, but these errors were encountered: