![]() |
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 | validate |
![]() | |
def | __init__ |
def | __property_config__ |
def | __get__ |
def | __set__ |
def | default_value |
def | validate |
def | empty |
def | get_value_for_datastore |
def | get_updated_value_for_datastore |
def | make_value_from_datastore_index_value |
def | make_value_from_datastore |
def | datastore_type |
Public Attributes | |
multiline | |
![]() | |
verbose_name | |
name | |
default | |
required | |
validator | |
choices | |
indexed | |
creation_counter | |
model_class | |
Static Public Attributes | |
int | MAX_LENGTH = 500 |
data_type = basestring | |
![]() | |
int | creation_counter = 0 |
data_type = str | |
A textual property, which can be multi- or single-line.
def google.appengine.ext.db.StringProperty.__init__ | ( | self, | |
verbose_name = None , |
|||
multiline = False , |
|||
kwds | |||
) |
Construct string property. Args: verbose_name: Verbose name is always first parameter. multi-line: Carriage returns permitted in property.
def google.appengine.ext.db.StringProperty.validate | ( | self, | |
value | |||
) |
Validate string property. Returns: A valid value. Raises: BadValueError if property is not multi-line but value is.