

def __init__(self, path):
    path_parts = path.split(':')
    if (len(path_parts) == 1):
        self.model_name = 'default'
        self.attribute = path_parts[0]
    else:
        self.model_name = path_parts[0]
        self.attribute = path_parts[1]

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/expression/objects.py ModelPath.__init__/original