|
|
|
|
225
|
context: ContextInterface = None,
|
225
|
context: ContextInterface = None,
|
226
|
error_http_code: HTTPStatus = HTTPStatus.BAD_REQUEST,
|
226
|
error_http_code: HTTPStatus = HTTPStatus.BAD_REQUEST,
|
227
|
default_http_code: HTTPStatus = HTTPStatus.OK,
|
227
|
default_http_code: HTTPStatus = HTTPStatus.OK,
|
|
|
228
|
+ as_list: typing.List[str]=None,
|
228
|
) -> typing.Callable[[typing.Callable[..., typing.Any]], typing.Any]:
|
229
|
) -> typing.Callable[[typing.Callable[..., typing.Any]], typing.Any]:
|
229
|
processor = processor or MarshmallowInputProcessor()
|
230
|
processor = processor or MarshmallowInputProcessor()
|
230
|
processor.schema = schema
|
231
|
processor.schema = schema
|
|
|
|
|
235
|
processor=processor,
|
236
|
processor=processor,
|
236
|
error_http_code=error_http_code,
|
237
|
error_http_code=error_http_code,
|
237
|
default_http_code=default_http_code,
|
238
|
default_http_code=default_http_code,
|
|
|
239
|
+ as_list=as_list,
|
238
|
)
|
240
|
)
|
239
|
|
241
|
|
240
|
def decorator(func):
|
242
|
def decorator(func):
|