def import_symbol(symbol):
    module_str, symbol_str = symbol.rsplit('.', 1)
    module = import_module(module_str)
    return getattr(module, symbol_str)
Imports symbol with given dotted name.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/core/utils.py/import_symbol