App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.ext.db.polymodel._ClassKeyProperty Class Reference
Inheritance diagram for google.appengine.ext.db.polymodel._ClassKeyProperty:
google.appengine.ext.db.ListProperty google.appengine.ext.db.Property

Public Member Functions

def __init__
 
def __set__
 
def __get__
 
- Public Member Functions inherited from google.appengine.ext.db.ListProperty
def __init__
 
def validate
 
def validate_list_contents
 
def empty
 
def default_value
 
def get_value_for_datastore
 
def make_value_from_datastore
 
def make_value_from_datastore_index_value
 
- Public Member Functions inherited from google.appengine.ext.db.Property
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
 

Additional Inherited Members

- Public Attributes inherited from google.appengine.ext.db.ListProperty
 item_type
 
- Public Attributes inherited from google.appengine.ext.db.Property
 verbose_name
 
 name
 
 default
 
 required
 
 validator
 
 choices
 
 indexed
 
 creation_counter
 
 model_class
 
- Static Public Attributes inherited from google.appengine.ext.db.ListProperty
 data_type = list
 
- Static Public Attributes inherited from google.appengine.ext.db.Property
int creation_counter = 0
 
 data_type = str
 

Detailed Description

Property representing class-key property of a polymorphic class.

The class key is a list of strings describing an polymorphic instances
place within its class hierarchy.  This property is automatically calculated.
For example:

  class Foo(PolyModel): ...
  class Bar(Foo): ...
  class Baz(Bar): ...

  Foo.class_key() == ['Foo']
  Bar.class_key() == ['Foo', 'Bar']
  Baz.class_key() == ['Foo', 'Bar', 'Baz']

The documentation for this class was generated from the following file: