Skip to content

Commit f5e9d98

Browse files
committed
docs(sdk): fix typos
1 parent 5132289 commit f5e9d98

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

docs/content/en/docs/data/data-source/load_and_put_declarative_data_sources.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,12 @@ sdk.catalog_data_source.put_declarative_data_sources(
5555
)
5656
```
5757

58+
Example of the credential file:
59+
60+
```yaml
61+
data_sources:
62+
demo-test-ds: "demopass"
63+
demo-bigquery-ds: "~/home/secrets.json"
64+
```
65+
5866
The result is identical.

docs/content/en/docs/workspace/workspaces/load_and_put_declarative_workspace.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Either by one call:
3333
```python
3434
# Load and put on server the stored layout
3535
sdk.catalog_workspace.load_and_put_declarative_workspace(
36+
workspace_id="demo",
3637
layout_root_path=Path.cwd()
3738
)
3839
```
@@ -42,10 +43,12 @@ Or by two separate calls:
4243
```python
4344
# Load a declarative workspace
4445
declarative_workspaces = sdk.catalog_workspace.load_declarative_workspace(
46+
workspace_id="demo",
4547
layout_root_path=Path.cwd()
4648
)
4749
# Set the layout
4850
sdk.catalog_workspace.put_declarative_workspace(
51+
workspace_id="demo",
4952
workspace=declarative_workspaces
5053
)
5154
```

0 commit comments

Comments
 (0)