Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diffgram/diffgram
/ create_random_string
Function
create_random_string
shared/database/action/workflow.py:261–266 ·
view source on GitHub ↗
(length)
Source
from the content-addressed store, hash-verified
259
260
# see auth_api_new copied from there
261
def
create_random_string(length):
262
# Email safe, so no upper case
263
264
return
''
.join(random.choice(
265
string.ascii_lowercase +
266
string.digits)
for
x in range(length))
Callers
1
update_string_id
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected