thirdparty/google_appengine/google/appengine/api/apiproxy_stub.py
changeset 828 f5fd65cc3bf3
parent 686 df109be0567c
--- a/thirdparty/google_appengine/google/appengine/api/apiproxy_stub.py	Tue Jan 20 01:12:43 2009 +0000
+++ b/thirdparty/google_appengine/google/appengine/api/apiproxy_stub.py	Tue Jan 20 13:19:45 2009 +0000
@@ -21,7 +21,7 @@
 
 
 
-
+from google.appengine.api import apiproxy_rpc
 from google.appengine.runtime import apiproxy_errors
 
 
@@ -49,6 +49,14 @@
     self.__service_name = service_name
     self.__max_request_size = max_request_size
 
+  def CreateRPC(self):
+    """Creates RPC object instance.
+
+    Returns:
+      a instance of RPC.
+    """
+    return apiproxy_rpc.RPC(stub=self)
+
   def MakeSyncCall(self, service, call, request, response):
     """The main RPC entry point.