You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/en/latest/getting-started.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,14 +42,19 @@ Start integrating GoodData into your Python application right now.
42
42
profiles.yaml file structure example:
43
43
44
44
```yaml
45
-
default:
46
-
host: http://localhost:3000
47
-
token: YWRtaW46Ym9vdHN0cmFwOmFkbWluMTIz
48
-
custom_headers: #optional
49
-
Host: localhost
50
-
extra_user_agent: xyz #optional
45
+
profiles:
46
+
dev:
47
+
host: http://localhost:3000
48
+
token: $GOODDATA_API_TOKEN_DEV
49
+
custom_headers: #optional
50
+
Host: localhost
51
+
extra_user_agent: xyz #optional
52
+
default_profile: dev
53
+
access: {}
51
54
```
52
55
56
+
The `token` field should reference an environment variable that holds your personal access token. The `access` field can include references to environment variables with data source secrets, or it can be left empty ifnot needed.
57
+
53
58
1. Start using Python SDK! For example, get a list of all workspaces:
raiseValueError("Configuration is invalid. Please check the documentation for the valid configuration.")
286
+
raiseValueError(
287
+
"Configuration is invalid. Please check the documentation for the valid configuration: https://www.gooddata.com/docs/python-sdk/latest/getting-started/"
288
+
)
287
289
ifis_aac_config:
288
290
return_create_profile_aac(profile, content)
289
291
else:
290
292
warn(
291
-
"Used configuration is deprecated and will be removed in the future. Please use the new configuration.",
293
+
"Used configuration is deprecated and will be removed in the future. Please use the new configuration: https://www.gooddata.com/docs/python-sdk/latest/getting-started/",
0 commit comments