class Multiwoven::Integrations::Source::DatabricksModel::Client
def run_model(connection_config, payload)
def run_model(connection_config, payload) connection_config = connection_config.with_indifferent_access url = build_url(DATABRICKS_SERVING_URL, connection_config) token = connection_config[:token] response = send_request( url: url, http_method: HTTP_POST, payload: payload, headers: auth_headers(token), config: connection_config[:config] ) process_response(response) rescue StandardError => e handle_exception(e, context: "DATABRICKS MODEL:RUN_MODEL:EXCEPTION", type: "error") end