MCPcopy Index your code
hub / github.com/diffgram/diffgram / get_random_string

Function get_random_string

shared/tests/test_utils/data_mocking.py:49–52  ·  view source on GitHub ↗
(length)

Source from the content-addressed store, hash-verified

47
48
49def get_random_string(length):
50 letters = string.ascii_lowercase
51 result_str = ''.join(random.choice(letters) for i in range(length))
52 return result_str
53
54
55def register_member(user, session):

Callers 3

create_fileFunction · 0.85
create_jobFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected