Code
Hub
Trending
Following
Digest
Agents
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/python/mypy
/ random_string
Function
random_string
mypy/metastore.py:84–85 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
82
83
84
def
random_string() -> str:
85
return
binascii.hexlify(os.urandom(8)).decode(
"ascii"
)
86
87
88
class
FilesystemMetadataStore(MetadataStore):
Callers
1
write
Method · 0.85
Calls
1
decode
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…