pdstools.utils.namespaces

Attributes

Exceptions

MissingDependenciesException

Common base class for all non-exit exceptions.

Classes

Functions

Module Contents

logger
require_dependencies(func)
class LazyNamespaceMeta

Bases: type

class LazyNamespace
dependencies: List[str] | None
dependency_group: str | None
_dependencies_checked = False
check_dependencies()
_check_dependencies()
exception MissingDependenciesException(deps: List[str], namespace: str | None = None, deps_group: str | None = None)

Bases: Exception

Common base class for all non-exit exceptions.

Parameters:
  • deps (List[str])

  • namespace (Optional[str])

  • deps_group (Optional[str])

message = Multiline-String
Show Value
"""To use None, you are missing an optional dependency: .
Please install it using your favorite package manager (e.g. uv pip install )"""