Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BIT-DataLab/LakeBench
/ _random_name
Function
_random_name
join/LSH/datasketch/storage.py:102–105 ·
view source on GitHub ↗
(length)
Source
from the content-addressed store, hash-verified
100
101
102
def
_random_name(length):
103
# For use with Redis, we return bytes
104
return
''
.join(random.choice(string.ascii_lowercase)
105
for
_ in range(length)).encode(
'utf8'
)
106
107
108
class
Storage(ABC):
Callers
4
__init__
Method · 0.90
__init__
Method · 0.90
__init__
Method · 0.70
__init__
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected