Skip to content

Commit

Permalink
TRIVIAL: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara3l committed Jul 28, 2023
1 parent d4ae9df commit 9419815
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
2 changes: 0 additions & 2 deletions docs/content/en/docs/execution/exports/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ def export_tabular():
workspace_id = "demo",
insight_id = "revenue",
file_format = "CSV",
# The flag use_labels ensures that names of columns are according to your model
use_labels = True,
file_name = "revenue_export.csv"
)

Expand Down
4 changes: 2 additions & 2 deletions docs/content/en/docs/execution/exports/export_pdf.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ The ID of the GoodData Workspace.
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()
The name of the PDF file (excluding the file extension).
{{< /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()
The name of the PDF file (excluding the file extension).
{{< /parameter >}}
{{< parameter p_name="timeout" p_type="float" >}}
The maximum amount of time (in seconds) to wait for the server to process the export. Defaults to 60.0.
Expand Down
2 changes: 1 addition & 1 deletion docs/content/en/docs/execution/exports/export_tabular.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The ID of the GoodData Dashboard.
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()
The path to save the exported tabular data. Defaults to Path.cwd().
{{< /parameter >}}
{{< parameter p_name="timeout" p_type="float" >}}
The maximum amount of time (in seconds) to wait for the server to process the export. Defaults to 60.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,17 @@ The ID of the GoodData Workspace.
{{< parameter p_name="insight_id" p_type="string" >}}
The ID of the GoodData Insight.
{{< /parameter >}}
{{< parameter p_name="file_format" p_type="string" >}}
The format of the file to be exported.
{{< /parameter >}}
{{< parameter p_name="file_name" p_type="String" >}}
The name of the PDF file (excluding the file extension). Defaults to Path.cwd()
The name which the exported file should have. Defaults to None.
{{< /parameter >}}
{{< parameter p_name="settings" p_type="Optional[ExportSettings]" >}}
Configuration settings for the export. Defaults to None.
Any additional 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()
The path to store the exported file. Defaults to Path.cwd().
{{< /parameter >}}
{{< parameter p_name="timeout" p_type="float" >}}
The maximum amount of time (in seconds) to wait for the server to process the export. Defaults to 60.0.
Expand Down
7 changes: 5 additions & 2 deletions gooddata-sdk/gooddata_sdk/catalog/export/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class ExportService(CatalogServiceBase):
Export a PDF of a GoodData Dashboard.
export_tabular:
Export Tabular data from a GoodData Dashboard.
export_tabular_by_insight_id:
Exports the tabular data of a particular insight id.
"""

def __init__(self, api_client: GoodDataApiClient) -> None:
Expand Down Expand Up @@ -297,8 +299,9 @@ def export_tabular_by_insight_id(
settings (Optional[ExportSettings], optional): Any additional settings for the export. Defaults to None.
store_path (Union[str, Path], optional): The path to store the exported file. Defaults to Path.cwd().
timeout (float, optional): The maximum time to wait for the export to finish. Defaults to 60.0.
retry (float, optional): The time to wait before attempting to retry the export. Defaults to 0.2.
max_retry (float, optional): The maximum number of times to retry the export. Defaults to 5.0.
retry (float, optional):
Initial wait time (in seconds) before retrying to get the exported content. Defaults to 0.2.
max_retry (float, optional): The maximum retry wait time (in seconds). Defaults to 5.0.
Returns:
None
Expand Down

0 comments on commit 9419815

Please sign in to comment.