-
Notifications
You must be signed in to change notification settings - Fork 47
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
DP-2433: adding exporting documentation #298
Conversation
Build succeeded (check pipeline). |
efca507
to
63ee17b
Compare
Build succeeded (check pipeline). |
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #298 +/- ##
==========================================
- Coverage 91.39% 91.27% -0.12%
==========================================
Files 85 85
Lines 5622 5664 +42
==========================================
+ Hits 5138 5170 +32
- Misses 484 494 +10
... and 4 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
63ee17b
to
d4ae9df
Compare
Build succeeded (check pipeline). |
insight_id = "revenue", | ||
file_format = "CSV", | ||
# The flag use_labels ensures that names of columns are according to your model | ||
use_labels = True, |
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.
Remove this argument. It is not there anymore.
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.
👍
The ID of the GoodData Insight. | ||
{{< /parameter >}} | ||
{{< parameter p_name="file_name" p_type="String" >}} | ||
The name of the PDF file (excluding the file extension). Defaults to Path.cwd() |
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.
Not true. First, it is not PDF. Second, it does not default to Path.cwd()
Configuration settings for the export. Defaults to None. | ||
{{< /parameter >}} | ||
{{< parameter p_name="store_path" p_type="Union[String, Path]" >}} | ||
The name of the PDF file (excluding the file extension). Defaults to Path.cwd() |
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.
Not true.
The ID of the GoodData Dashboard. | ||
{{< /parameter >}} | ||
{{< parameter p_name="file_name" p_type="String" >}} | ||
The name of the PDF file (excluding the file extension). Defaults to Path.cwd() |
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.
Not true.
The name of the PDF file (excluding the file extension). Defaults to Path.cwd() | ||
{{< /parameter >}} | ||
{{< parameter p_name="store_path" p_type="Union[String, Path]" >}} | ||
The name of the PDF file (excluding the file extension). Defaults to Path.cwd() |
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.
Not true.
The ID of the GoodData Dashboard. | ||
{{< /parameter >}} | ||
{{< parameter p_name="file_name" p_type="String" >}} | ||
The name of the PDF file (excluding the file extension). Defaults to Path.cwd() |
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.
Not true. Does not default to Path.cwd()
""" | ||
ExportService provides the ability to export PDF and Tabular data from GoodData Dashboards. | ||
Attributes: | ||
_entities_api: | ||
A reference to the entities_api of GoodDataApiClient instance. | ||
_actions_api: | ||
A reference to the actions_api of GoodDataApiClient instance. | ||
Methods: | ||
_get_exported_content: | ||
A static method that gets the exported content using the provided `get_func`. | ||
_create_export: | ||
A static method that creates an export and returns its ID. | ||
_dashboard_id_exists: | ||
Checks if the given dashboard_id exists in the workspace. | ||
_export_common: | ||
Common export method for handling the exports of PDF and Tabular. | ||
export_pdf: | ||
Export a PDF of a GoodData Dashboard. | ||
export_tabular: | ||
Export Tabular data from a GoodData Dashboard. | ||
""" |
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.
Missing export_tabular_by_insight_id and its documentation.
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.
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.
I mean the documentation in the context of service.py.
- ExportService docstring
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.
👍
Build succeeded (check pipeline). |
62db571
to
9419815
Compare
Build succeeded (check pipeline). |
1 similar comment
Build succeeded (check pipeline). |
fd9d011
to
ae79bdc
Compare
Build succeeded (check pipeline). |
Sonar scan resultMore detail, see in https://sonarqube-gate.intgdc.com/dashboard?id=gooddata-python-sdk-gate-PR298 To scan for vulnerabilities in dependencies and run unit tests (to get coverage report in sonar) please comment your PR with 'extended check sonar'. |
Build succeeded (gate pipeline).
|
No description provided.