-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #574 from hkad98/PSDK-172
Rename 'insight' to 'visualization' Reviewed-by: Jan Kadlec https://github.com/hkad98
- Loading branch information
Showing
70 changed files
with
593 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM node:20.11.1-bookworm-slim | ||
|
||
RUN npm install -g [email protected] | ||
|
||
COPY docs docs | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y git make golang-go curl | ||
|
||
WORKDIR docs | ||
RUN npm install | ||
|
||
# accessible on http://localhost:1313/docs/ | ||
ENTRYPOINT ["hugo", "server", "--bind", "0.0.0.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
docs/content/en/docs/workspace-content/workspace-content/get_insight.md
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
docs/content/en/docs/workspace-content/workspace-content/get_insights.md
This file was deleted.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
docs/content/en/docs/workspace-content/workspace-content/get_visualization.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: "get_visualization" | ||
linkTitle: "get_visualization" | ||
weight: 15 | ||
superheading: "visualizations." | ||
--- | ||
|
||
|
||
|
||
``get_visualization(workspace_id: str, visualization_id: str)`` | ||
|
||
Get a single visualization from a workspace. | ||
|
||
|
||
{{% parameters-block title="Parameters" %}} | ||
{{< parameter p_name="workspace_id" p_type="string" >}} | ||
Workspace identification string e.g. "demo" | ||
{{< /parameter >}} | ||
{{< parameter p_name="visualization_id" p_type="string" >}} | ||
Visualization identifier string e.g. "bikes" | ||
{{< /parameter >}} | ||
{{% /parameters-block %}} | ||
|
||
{{% parameters-block title="Returns"%}} | ||
{{< parameter p_type="Visualization" >}} | ||
A single Visualization object contains side loaded metadata about the entities it references | ||
{{< /parameter >}} | ||
{{% /parameters-block %}} | ||
|
||
## Example | ||
|
||
```python | ||
# Get all visualizations | ||
visualizations = sdk.visualizations.get_visualizations(workspace_id="123") | ||
``` |
29 changes: 29 additions & 0 deletions
29
docs/content/en/docs/workspace-content/workspace-content/get_visualizations.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: "get_visualizations" | ||
linkTitle: "get_visualizations" | ||
weight: 15 | ||
superheading: "visualizations." | ||
--- | ||
|
||
``get_visualizations(workspace_id: str)`` | ||
|
||
Get a list of visualization objects. | ||
|
||
{{% parameters-block title="Parameters" %}} | ||
{{< parameter p_name="workspace_id" p_type="string" >}} | ||
Workspace identification string e.g. "demo" | ||
{{< /parameter >}} | ||
{{% /parameters-block %}} | ||
|
||
{{% parameters-block title="Returns"%}} | ||
{{< parameter p_type="list[Visualization]" >}} | ||
All available visualizations, each visualization will contain side loaded metadata about the entities it references | ||
{{< /parameter >}} | ||
{{% /parameters-block %}} | ||
|
||
## Example | ||
|
||
```python | ||
# Get all visualizations | ||
visualizations = sdk.visualizations.get_visualizations(workspace_id="123") | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.