소스 검색

add missing parameter as_list

Bastien Sevajol 7 년 전
부모
커밋
76f43f817d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      hapic/hapic.py

+ 2 - 0
hapic/hapic.py 파일 보기

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):