def get_module(module_name: str):
    """
    Retrieves a module.
    """
    try:
        # import importlib
        # module = importlib.import_module(module_name)
        # requiring parameter `fromlist` to get specified module
        module = __import__(module_name, fromlist=[''])
        return module
    except ImportError:
        return None