This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
catalog_user.

load_declarative_user_groups

load_declarative_user_groups(layout_root_path: Path) -> CatalogDeclarativeUserGroups

Load declarative users groups layout, which was stored using `store_declarative_user_groups`.

Parameters

nametypedescription
layout_root_pathPathPath to the root of the layout directory.. Defaults to Path.cwd().

Returns

typedescription
CatalogDeclarativeUserGroupsDeclarative User Groups object.

Example

# Load user groups from directory
declarative_user_groups = sdk.catalog_user.load_declarative_user_groups(layout_root_path = Path.cwd())