MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / __call__

Method __call__

Scripts/ButSystem.py:1319–1326  ·  view source on GitHub ↗
(self, environ, start_response)

Source from the content-addressed store, hash-verified

1317 now = time.time()
1318 with PRESENCE_LOCK:
1319 bucket = PRESENCE.setdefault(scope, {})
1320 bucket[username] = now
1321
1322def is_online(username: str, scope: str) -> bool:
1323 """is_online.
1324
1325Internal helper function.
1326
1327This docstring was added automatically to improve maintainability.
1328
1329Args:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected