def METHOD_NAME(self, user, uid, response, details=None, *args, **kwargs):
    return {
        key: value
        for key, value in response.items()
        if key in response["extra_data_list"]
    }