google.appengine.api.search.AtomFacet

A Facet that has content to be treated as a single token for indexing.

Inherits From: Facet, expected_type

The following example shows an atom facet named wine_type: AtomFacet(name='wine_type', value='Red')

name The name of the facet.
value A str or unicode object to be treated as an indivisible text value.

TypeError If value is not a string.
ValueError If value is longer than allowed.

name Returns the name of the facet.
value Returns the value of the facet.

Methods

__eq__

View source

Return self==value.

__ne__

View source

Return self!=value.