current behaviour: get config objects throught the load_config factory, imported from heisskleber.config. However, when doing so, the constructor for any given object is needed to, so it has to be imported from the corresponding submodule, e.g.:
from heisskleber.config import load_config
from heisskleber.zmq import ZmqConfig
zmq_config = load_config(ZmqConfig(), "zmq")
proposed behaviour: move all config objects into the heisskleber.config namespace, such that:
from heisskleber.config import load_config, ZmqConfig
zmq_config = load_config(ZmqConfig(), "zmq")
current behaviour: get config objects throught the
load_config
factory, imported fromheisskleber.config
. However, when doing so, the constructor for any given object is needed to, so it has to be imported from the corresponding submodule, e.g.:proposed behaviour: move all config objects into the
heisskleber.config
namespace, such that: