MCPcopy Create free account
hub / github.com/EasyIME/PIME / get_current_user

Method get_current_user

python/input_methods/chewing/config_tool.py:54–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52class BaseHandler(tornado.web.RequestHandler):
53
54 def get_current_user(self): # override the login check
55 return self.get_cookie(COOKIE_ID)
56
57 def prepare(self): # called before every request
58 self.application.reset_timeout() # reset the quit server timeout

Callers

nothing calls this directly

Calls 1

get_cookieMethod · 0.45

Tested by

no test coverage detected