Skip to content

Commit

Permalink
update DataFrameAnalyticsConfig type to make analyzed_fields optional
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Jul 29, 2021
1 parent 77bbb99 commit 0f1af08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x-pack/plugins/ml/common/types/data_frame_analytics.ts
Expand Up @@ -80,9 +80,9 @@ export interface DataFrameAnalyticsConfig {
runtime_mappings?: RuntimeMappings;
};
analysis: AnalysisConfig;
analyzed_fields: {
includes: string[];
excludes: string[];
analyzed_fields?: {
includes?: string[];
excludes?: string[];
};
model_memory_limit: string;
max_num_threads?: number;
Expand Down

0 comments on commit 0f1af08

Please sign in to comment.