MCPcopy Index your code
hub / github.com/rawpython/remi / __init__

Method __init__

examples/session_app.py:127–135  ·  view source on GitHub ↗
(self, cookieInterface, session_timeout_seconds = 60, **kwargs)

Source from the content-addressed store, hash-verified

125 When this event happens, ask for user login
126 """
127 def __init__(self, cookieInterface, session_timeout_seconds = 60, **kwargs):
128 super(LoginManager, self).__init__(**kwargs)
129 gui.EventSource.__init__(self)
130 self.expired = True
131 self.session_uid = str(random.randint(1,999999999))
132 self.cookieInterface = cookieInterface
133 self.session_timeout_seconds = session_timeout_seconds
134 self.timer_request_cookies() #starts the cookie refresh
135 self.timeout_timer = None #checks the internal timeout
136
137 def timer_request_cookies(self):
138 self.cookieInterface.request_cookies()

Callers

nothing calls this directly

Calls 2

timer_request_cookiesMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected