| Home | Trees | Indices | Help |
|
|---|
|
|
Google App Engine adapter module.
Sets up basic type mapping and class mappings for using the Datastore API in Google App Engine.
See Also: Datastore API on Google App Engine
Since: 0.3.1
|
|||
|
ModelStub This class represents a db.Model or
db.Expando class as the typed object is being read
from the AMF stream.
|
|||
|
GAEReferenceCollection This helper class holds a dict of klass to key/objects loaded from the Datastore. |
|||
|
DataStoreClassAlias This class contains all the business logic to interact with Google's Datastore API's. |
|||
|
|||
| Instance of GAEReferenceCollection |
|
||
Instance of klass.
|
|
||
|
|||
Imports: db, polymodel, datetime, pyamf, util
|
|||
Returns a reference to the
Since: 0.4.1 |
Attempt to load an instance from the datastore, based on
Since: 0.4.1 |
The GAE Datastore creates new instances of objects for each get request. This is a problem for PyAMF as it uses the id(obj) of the object to do reference checking. We could just ignore the problem, but the objects are conceptually the same so the effort should be made to attempt to resolve references for a given object graph. We create a new map on the encoder context object which contains a
dict of Since: 0.4.1 |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Jul 18 11:43:56 2011 | http://epydoc.sourceforge.net |