hutch_python.load_conf.default_class_namespace¶
-
hutch_python.load_conf.
default_class_namespace
(cls, name, cache)¶ Create a class namespace and add it to the cache.
This is an internal utility function for
load_conf.load_conf
that creates anIterableNamespace
, names it, gives it a shortened name, and then registers both names to theLoadCache
if the namespace isn’t empty.- Parameters
cls (
type
orstr
) – The class to use for the namespacename (
str
) – The name of the namespacecache (
LoadCache
) –