def METHOD_NAME(self, **kwargs):
    preprocess_params = {}
    if "timeout" in kwargs:
        preprocess_params["timeout"] = kwargs["timeout"]
    postprocess_kwargs = {}
    if "threshold" in kwargs:
        postprocess_kwargs["threshold"] = kwargs["threshold"]
    return preprocess_params, {}, postprocess_kwargs