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

Class _LoopbackProxyFix

Scripts/ButSystem.py:1314–1326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1312 scope: Parameter.
1313
1314Returns:
1315 Varies.
1316"""
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 1

ButSystem.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected