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