-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ml calendar apis #3569
Ml calendar apis #3569
Conversation
…implemented and tested
@codebrain mind retargetting this against |
Changed base to 6.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 left a few small comments.
I added a fix for failing unit tests related to there being no event id when unit tests are run.
public partial interface IDeleteCalendarJobResponse : IResponse | ||
{ | ||
[JsonProperty("calendar_id")] | ||
Id CalendarId { get; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we typically return Nest types like Id
on responses, or leave them as primitive types e.g. string
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, will change to string
- I think that is better and will likely play nicer with a different serialiser.
public partial interface IElasticClient | ||
{ | ||
/// <summary> | ||
/// Retrieves configuration for machine learning jobs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Retrieves calendar configuration information for machine learning jobs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
public partial interface IElasticClient | ||
{ | ||
/// <summary> | ||
/// Instantiates a machine learning calendar. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe Creates
might be better here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Ported to |
Subsequent commit made to address other types in response objects, not merged as part of this commit. This was also ported to |
(cherry picked from commit 2f040c4)
Implementation of the
6.4.0
ML calendar APIs - see here: #3552Requires port to
master