Python 3.10 is now available in preview.

google.appengine.api.oauth.get_authorized_scopes

Returns authorized scopes from input scopes.

scope The custom OAuth scope or an iterable of scopes at least one of which is accepted.

list A list of authorized OAuth2 scopes

OAuthRequestError The request was not a valid OAuth2 request.
OAuthServiceFailureError An unknown error occurred