From 60f76359a8ac6a805b0af3c6fe07e96abcff990f Mon Sep 17 00:00:00 2001 From: James Gowdy Date: Tue, 17 Dec 2024 11:47:53 +0000 Subject: [PATCH] [ML] Removing unused include_model_definition type (#204420) `include_model_definition` has been deprecated in favor of `include=definition` Although `include_model_definition` was included in the type for the client side `getTrainedModels`, the argument was not part of the endpoint schema and would have caused an error if used. In the future if we need this adding to the endpoint it can be added then. --- .../public/application/services/ml_api_service/trained_models.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/trained_models.ts b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/trained_models.ts index 9e473658bc769..04d815082c547 100644 --- a/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/trained_models.ts +++ b/x-pack/platform/plugins/shared/ml/public/application/services/ml_api_service/trained_models.ts @@ -31,7 +31,6 @@ import type { export interface InferenceQueryParams { from?: number; - include_model_definition?: boolean; size?: number; tags?: string; include?: 'total_feature_importance' | 'feature_importance_baseline' | string;