import importlib


def get_object(module, name):
    """
    Gets object from given module by name
    :param module: full module name
    :param name: object name
    :return: loaded object
    """
    m = importlib.import_module(module)
    f = getattr(m, name)
    return f