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.


Creates an RPC object for use with the Task Queue API.

deadline Optional deadline in seconds for the operation; the default value is a system-specific deadline, which is typically 5 seconds. After the deadline, a DeadlineExceededError error will be returned.
callback Optional function to be called with the Task Queue service returns results successfully when get_result(), check_success(), or wait() is invoked on the RPC object. The function is called without arguments. The function is not called in a background process or thread; the function is only called when one of the above methods is called by the application. The function is called even if the request fails or the RPC deadline elapses.

An apiproxy_stub_map.UserRPC object specialized for this service.