The troveclient.compat.utils Module

The troveclient.compat.utils Module

class troveclient.compat.utils.HookableMixin

Bases: object

Mixin so classes can register and run hooks.

classmethod add_hook(hook_type, hook_func)
classmethod run_hooks(hook_type, *args, **kwargs)
troveclient.compat.utils.env(*vars, **kwargs)

Returns environment variables.

Returns the first environment variable set if none are non-empty, defaults to ‘’ or keyword arg default.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

python-troveclient 2.14.1.dev7