catalog_user.

load_declarative_users

load_declarative_users(layout_root_path: Path) -> CatalogDeclarativeUsers

Load declarative users layout, which was stored using store_declarative_users.

Parameters

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

Returns

typedescription
CatalogDeclarativeUsersDeclarative Users object, incuding authetication properties.

Example

# Load users from directory
declarative_users = sdk.catalog_user.load_declarative_users(layout_root_path: Path = Path.cwd())