def create_object(module_name: str, class_name: str, args: Iterable=(), kwargs: Dict[str, Any]=_EMPTY_DICT):
    """
    Create an object instance of the given class from the given module.
    Args and kwargs are passed to the constructor.

    This mimics the following code:

    .. code-block:: python

        from module import class
        return class(*args, **kwargs)

    :param module_name: module name
    :param class_name: class name
    :param args: args to be passed to the object constructor
    :param kwargs: kwargs to be passed to the object constructor
    :return: created object instance
    """
    return get_attribute(module_name, class_name)(*args, **kwargs)
Create an object instance of the given class from the given module.
    Args and kwargs are passed to the constructor.

    This mimics the following code:

    .. code-block:: python

        from module import class
        return class(*args, **kwargs)

    :param module_name: module name
    :param class_name: class name
    :param args: args to be passed to the object constructor
    :param kwargs: kwargs to be passed to the object constructor
    :return: created object instance