def __init__(self, w, attr_map, focus_map=None):
        self.__super.__init__(w)

        if type(attr_map) != dict:
            self.set_attr_map({None: attr_map})
        else:
            self.set_attr_map(attr_map)

        if focus_map is not None and type(focus_map) != dict:
            self.set_focus_map({None: focus_map})
        else:
            self.set_focus_map(focus_map)
Get the list of versions for a project.
dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/decoration.py/AttrMap.__init__--crossover with--dataset/ETHPy150Open jessemyers/cheddar/cheddar/index/index.py/Index.get_versions