Once you have imported foo module in which you have the bar class with
import importlib
foo = importlib.import_module('path/to/foo')
How do you do to simply call bar.run() instead of foo.bar.run()?
I guess you can to this bar = foo.bar
but I want to do it for all objects in foo, and I can't do it each by each, it will take too much time.