MCPcopy
hub / github.com/tornadoweb/tornado / initialize

Method initialize

tornado/test/auth_test.py:542–546  ·  view source on GitHub ↗
(self, test)

Source from the content-addressed store, hash-verified

540
541class GoogleLoginHandler(RequestHandler, GoogleOAuth2Mixin):
542 def initialize(self, test):
543 self.test = test
544 self._OAUTH_REDIRECT_URI = test.get_url("/client/login")
545 self._OAUTH_AUTHORIZE_URL = test.get_url("/google/oauth2/authorize")
546 self._OAUTH_ACCESS_TOKEN_URL = test.get_url("/google/oauth2/token")
547
548 @gen.coroutine
549 def get(self):

Callers

nothing calls this directly

Calls 1

get_urlMethod · 0.45

Tested by

no test coverage detected