Python 3.9 is now generally available.

google.appengine.api.oauth.get_oauth_consumer_key

OAuth1 authentication is deprecated and turned down.