catalog_user.

store_declarative_user_groups

store_declarative_user_groups(layout_root_path: Path = Path.cwd())

Stores all the user groups in a directory hierarchy.

gooddata_layouts
└── organization_id
        └── user_groups
                └── user_groups.yaml

Parameters

nametypedescription
layout_root_pathOptional[Path]Path to the root of the layout directory.. Defaults to Path.cwd().

Returns

None

Example

# Fetch user groups from the server and store them to directory
sdk.catalog_user.store_declarative_user_groups(layout_root_path = Path.cwd())