Python 3.9 is now generally available.

google.appengine.api.app_identity.make_sign_blob_call

Executes the RPC call to sign a blob.

rpc A UserRPC instance.
bytes_to_sign Blob that must be signed.

A tuple that contains the signing key name and the signature.

TypeError If bytes_to_sign is not a string or bytes type.