Perhaps you could move this function and get_request_params into a qonos/api/v1/utils.py or something like that