def load_view_args_file_data(request: Request, schema: Schema) -> MultiDictProxy: """Load data from a request accepting view_args and file encoded data""" view_args_data = parser.load_view_args(request, schema) # type: ignore file_data = parser.load_files(request, schema) # type: ignore data = _combine_parser_data(view_args_data, file_data, schema) return data
def load_view_args_file_data(request: Request, schema: Schema) -> Dict[str, Any]: """Load data from a request accepting view_args and file encoded data""" view_args_data = parser.load_view_args(request, schema) file_data = parser.load_files(request, schema) data = _combine_parser_data(view_args_data, file_data, schema) return data
def load_form_file_data(request: Request, schema: Schema) -> MultiDictProxy: """Load data from a request accepting form and file encoded data""" form_data = parser.load_form(request, schema) # type: ignore file_data = parser.load_files(request, schema) # type: ignore data = _combine_parser_data(form_data, file_data, schema) return data
def load_form_file_data(request: Request, schema: Schema) -> Dict[str, Any]: """Load data from a request accepting form and file encoded data""" form_data = parser.load_form(request, schema) file_data = parser.load_files(request, schema) data = _combine_parser_data(form_data, file_data, schema) return data