def import_module(name: str) -> ModuleType:
logger.debug("<STR_LIT>", name)<EOL>if name == main_module_name():<EOL><INDENT>return main_module<EOL><DEDENT>return importlib.import_module(name)<EOL>
Import module by it's name from following places in order:
      - main module
      - current working directory
      - Python path