Changeset 1317
- Timestamp:
- 05/02/08 02:33:40 (7 months ago)
- Location:
- pyamf/trunk/pyamf
- Files:
-
- 3 modified
-
adapters/_google_appengine_ext_db.py (modified) (3 diffs)
-
remoting/gateway/google.py (modified) (2 diffs)
-
remoting/gateway/wsgi.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pyamf/trunk/pyamf/adapters/_google_appengine_ext_db.py
r1274 r1317 5 5 Google App Engine adapter module. 6 6 7 Sets up basic type mapping and class mappings for using the Google App Engine8 database API.7 Sets up basic type mapping and class mappings for using the Datastore API 8 in Google App Engine. 9 9 10 @see: U{Google App Engine (external)<http://code.google.com/appengine/>} 10 @see: U{Datastore API on Google App Engine (external) 11 <http://code.google.com/appengine/docs/datastore>} 11 12 12 13 @author: U{Nick Joyce<mailto:nick@boxdesign.co.uk>} … … 21 22 def get_attrs_for_model(obj): 22 23 """ 23 Returns a list of properties on an C{db.Model} instance 24 Returns a list of properties on an C{db.Model} instance. 24 25 """ 25 26 return list(obj.__class__._properties) … … 27 28 def get_attrs_for_expando(obj): 28 29 """ 29 Returns a list of dynamic properties on a C{db.Expando} instance 30 Returns a list of dynamic properties on a C{db.Expando} instance. 30 31 """ 31 32 return obj.dynamic_properties() -
pyamf/trunk/pyamf/remoting/gateway/google.py
r1300 r1317 3 3 4 4 """ 5 Google App Engine compatible AMF Gateway. 5 Gateway for Google App Engine. 6 7 This gateway allows you to expose functions in Google App Engine web 8 applications to AMF clients and servers. 9 10 @see: U{Google App Engine homepage (external) 11 <http://code.google.com/appengine>} 6 12 7 13 @author: U{Nick Joyce<mailto:nick@boxdesign.co.uk>} 14 8 15 @since: 0.3.1 9 16 """ … … 28 35 29 36 class WebAppGateway(webapp.RequestHandler, gateway.BaseGateway): 37 """ 38 Google App Engine Remoting Gateway. 39 """ 30 40 __name__ = None 31 41 -
pyamf/trunk/pyamf/remoting/gateway/wsgi.py
r1122 r1317 21 21 22 22 @author: U{Nick Joyce<mailto:nick@boxdesign.co.uk>} 23 23 24 @since: 0.1.0 24 25 """ … … 68 69 def __call__(self, environ, start_response): 69 70 """ 70 @type environ:71 @param environ:72 @type start_response:73 @param start_response:74 75 71 @rtype: C{StringIO} 76 72 @return: File-like object.
