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 an- IterableNamespace, names it, gives it a shortened name, and then registers both names to the- LoadCacheif the namespace isn’t empty.- Parameters
- cls ( - typeor- str) – The class to use for the namespace
- name ( - str) – The name of the namespace
- cache ( - LoadCache) –