def METHOD_NAME(method_name: str, options: ModelSignature):
    def _run(
        self: SklearnRunnable, input_data: ext.NpNDArray | ext.PdDataFrame
    ) -> ext.NpNDArray:
        # TODO: set inner_max_num_threads and n_jobs param here base on strategy env vars
        with parallel_backend(backend="loky"):
            return getattr(self.model, method_name)(input_data)
    SklearnRunnable.add_method(
        _run,
        name=method_name,
        batchable=options.batchable,
        batch_dim=options.batch_dim,
        input_spec=options.input_spec,
        output_spec=options.output_spec,
    )