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_confthat creates anIterableNamespace, names it, gives it a shortened name, and then registers both names to theLoadCacheif the namespace isn’t empty.- Parameters
cls (
typeorstr) – The class to use for the namespacename (
str) – The name of the namespacecache (
LoadCache) –