Skip to content

Commit

Permalink
[ML] Updating calendars schema (#194160)
Browse files Browse the repository at this point in the history
Updating schema to add `skip_result`, `skip_model_update` and
`force_time_shift`
  • Loading branch information
jgowdyelastic authored Sep 26, 2024
1 parent d71b3e0 commit 8e29141
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x-pack/plugins/ml/server/routes/schemas/calendars_schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ export const calendarSchema = schema.object({
description: schema.maybe(schema.string()),
start_time: schema.oneOf([schema.string(), schema.number()]),
end_time: schema.oneOf([schema.string(), schema.number()]),
skip_result: schema.maybe(schema.boolean()),
skip_model_update: schema.maybe(schema.boolean()),
force_time_shift: schema.maybe(schema.number()),
})
),
});
Expand Down

0 comments on commit 8e29141

Please sign in to comment.