Skip to content

Add wrappers for dashboards and insights#250

Closed
adescamps wants to merge 2 commits into
release/11from
feature/dss11-dashboards-insights
Closed

Add wrappers for dashboards and insights#250
adescamps wants to merge 2 commits into
release/11from
feature/dss11-dashboards-insights

Conversation

@adescamps

Copy link
Copy Markdown
Contributor

[sc-95092]
[sc-95094]

@adescamps adescamps added this to the 11.0.X milestone Jul 27, 2022
@shortcut-integration

Copy link
Copy Markdown

@joubert-m joubert-m left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some nitpicking otherwise LGTM

Comment thread dataikuapi/dss/dashboard.py Outdated
self.client = client

def to_dashboard(self):
return DSSDashboard(self.client, self._data["projectKey"], self._data["id"])

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we sometimes use " and sometimes ' for string we should harmonise it a bit

Comment thread dataikuapi/dss/insight.py Outdated
@apichery apichery requested a review from cstenac August 5, 2022 22:33
Co-authored-by: joubert-m <theojoubertmoureaud@gmail.com>

@geraldlamory geraldlamory left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested manually, it works well. And the code looks good 👍

Maybe we could add an argument to list_insights to retrieve insights as a list of DSSInsightListItem like for dashboards ?

@adescamps adescamps changed the base branch from release/11.0 to release/11 September 16, 2022 09:32
@adescamps adescamps closed this Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants