code: def create_endpoint(self, name, config=None):
      if config and config.get("raiseError") == "True":
          raise RuntimeError("Error requested")
      return {"name": f_endpoint_name}
  
file_path: mlflow/tests/resources/mlflow-test-plugin/mlflow_test_plugin/fake_deployment_plugin.py
imports: import os
  from mlflow.deployments import BaseDeploymentClient, PredictionsResponse
label_desc: Use image node_id 8 for calling the PluginDeploymentClient obj's underlying member method code with example usage: obj.create_endpoint(name, config) and returns: dict