Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 is now generally available.

google.appengine.api.apiproxy_stub_map.CreateRPC

Creates a RPC instance for the given service.

The instance is suitable for talking to remote services. Each RPC instance can be used only once, and should not be reused.

service string. Represents which service to call.
stubmap Optional APIProxyStubMap instance, for dependency injection.

The rpc object.

AssertionError or RuntimeError if the stub for service doesn't supply a CreateRPC method.