Open
Description
If there isn't a 'form' param in request ,I want return an error, but raised an error.
def list(self, request: Request, *args: Any, **kwargs: Any) -> Response:
if self.request.query_params.get('form') and self.request.query_params.get('format') == 'xlsx':
return Response({'error' : 'no form'})
error:
Response data is a dict, not a DataFrame!
Metadata
Metadata
Assignees
Labels
No labels