dynamically import class js code example
Example: import a class dynamically
mod = __import__('my_package.my_module', fromlist=['my_class'])
klass = getattr(mod, 'my_class')
mod = __import__('my_package.my_module', fromlist=['my_class'])
klass = getattr(mod, 'my_class')