namespace_dao
Namespace data access object (DAO)
Attributes
Classes
NamespaceDao
Bases: BaseDao
Namespace data access object (DAO)
Attributes
Functions
get_namespace
get_namespace(
resource_key: str,
include_deleted: bool = False,
include_disabled: bool = False,
) -> Namespace | None
Retrieve a Namespace
by its primary key ID or name.
Parameters:
-
resource_key
(str
) –The primary key ID or name of the namespace.
Returns:
-
Namespace | None
–Namespace | None: The matching
Namespace
orNone
if not found.
list_namespaces
list_namespaces(
include_deleted: bool = False,
include_disabled: bool = False,
) -> List[Namespace]