![]() |
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 HTML content. The following example shows an html field named content: HtmlField(name='content', value='<html>herbata, kawa</html>', language='pl')
def google.appengine.api.search.search.HtmlField.__init__ | ( | self, | |
name, | |||
value = None , |
|||
language = None |
|||
) |
Initializer. Args: name: The name of the field. value: A str or unicode object containing the searchable content of the Field. 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.