def atom_detail_class(atom_type):
    try:
        return _NAME_TO_DETAIL[atom_type]
    except __HOLE__:
        raise TypeError("Unknown atom type '%s'" % (atom_type))
dataset/ETHPy150Open openstack/taskflow/taskflow/persistence/models.py/atom_detail_class