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
Then validate your data using an input model corresponding with the provisioned resource and selected workflow type, i.e., `UserGroupFullLoad` if you intend to run the provisioning in full load mode, or `UserGroupIncrementalLoad` if you want to provision incrementally.
29
+
30
+
The models expect following fields:
31
+
```python
32
+
class UserGroupFullLoad
33
+
user_group_id: str
34
+
user_group_name: str
35
+
parent_user_groups: list[str] # A list of parent user group IDs. Can be empty or None
36
+
37
+
class UserGroupIncrementalLoad
38
+
user_group_id: str
39
+
user_group_name: str
40
+
parent_user_groups: list[str]
41
+
is_active: bool# Set to True to keep the user, False to delete it
42
+
43
+
```
44
+
45
+
> **Note on IDs**: Each ID can only contain allowed characters. See [Workspace Object Identification](https://www.gooddata.com/docs/cloud/create-workspaces/objects-identification/) to learn more about object identifiers.
46
+
47
+
Use the appropriate model to validate your data:
48
+
49
+
```python
50
+
# Add the model to the imports
51
+
from gooddata_pipelines import UserGroupFullLoad, UserGroupProvisioner
52
+
53
+
host ="http://localhost:3000"
54
+
token ="some_user_token"
55
+
56
+
# Initialize the provisioner with GoodData credentials
0 commit comments