

def resolve_dotted_name(dotted_name):
    if (':' in dotted_name):
        (module, name) = dotted_name.split(':')
    else:
        (module, name) = dotted_name.rsplit('.', 1)
    attr = import_module(module)
    for name in name.split('.'):
        attr = getattr(attr, name)
    return module

dataset/ETHPy150Open ottogroup/palladium/palladium/util.py resolve_dotted_name/VarMisuse@83/107 `attr`->`module`