(self, environ, start_response)
| 1317 | now = time.time() |
| 1318 | with PRESENCE_LOCK: |
| 1319 | bucket = PRESENCE.setdefault(scope, {}) |
| 1320 | bucket[username] = now |
| 1321 | |
| 1322 | def is_online(username: str, scope: str) -> bool: |
| 1323 | """is_online. |
| 1324 | |
| 1325 | Internal helper function. |
| 1326 | |
| 1327 | This docstring was added automatically to improve maintainability. |
| 1328 | |
| 1329 | Args: |
nothing calls this directly
no outgoing calls
no test coverage detected