Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreikop/python-ws-discovery
/ _generateInstanceId
Function
_generateInstanceId
wsdiscovery/util.py:278–279 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
276
277
278
def
_generateInstanceId():
279
return
str(random.randint(1, 0xFFFFFFFF))
280
281
282
def
getRandomStr():
Callers
2
publishService
Method · 0.85
constructProbeMatch
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected