View source on GitHub |
Creates a RPC instance for the given service.
google.appengine.api.apiproxy_stub_map.CreateRPC(
service, stubmap=None
)
The instance is suitable for talking to remote services. Each RPC instance can be used only once, and should not be reused.
Args | |
---|---|
service
|
string . Represents which service to call.
|
stubmap
|
Optional APIProxyStubMap instance, for dependency injection.
|
Returns | |
---|---|
The rpc object. |
Raises | |
---|---|
AssertionError or RuntimeError if the stub for service doesn't supply a
CreateRPC method.
|