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 bucket[username] = now
1313
1314def is_online(username: str, scope: str) -> bool:
1315 """is_online.
1316
1317Internal helper function.
1318
1319This docstring was added automatically to improve maintainability.
1320
1321Args:
1322 username: Parameter.
1323 scope: Parameter.
1324
1325Returns:
1326 Varies.
1327"""
1328 now = time.time()
1329 with PRESENCE_LOCK:

Callers 1

ButSystem.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected