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)¶
-
classmethod
-
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.