![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
![]() | |
def | __init__ |
def | name |
def | language |
def | value |
def | __repr__ |
def | __eq__ |
def | __ne__ |
def | __hash__ |
def | __str__ |
A Field that has content to be treated as a single token for indexing. The following example shows an atom field named contributor: AtomField(name='contributor', value='foo@bar.com')
def google.appengine.api.search.search.AtomField.__init__ | ( | self, | |
name, | |||
value = None , |
|||
language = None |
|||
) |
Initializer. Args: name: The name of the field. value: A str or unicode object to be treated as an indivisible text value. language: The code of the language the value is encoded in. Raises: TypeError: If value is not a string. ValueError: If value is longer than allowed.