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

Function create_random_string

shared/tests/test_utils/common_actions.py:9–11  ·  view source on GitHub ↗
(length)

Source from the content-addressed store, hash-verified

7from shared.regular import regular_methods
8from shared.permissions.project_permissions import Project_permissions
9def create_random_string(length):
10 return ''.join(random.choice(string.ascii_lowercase + \
11 string.digits) for x in range(length))
12
13
14def add_auth_to_session(session, user):

Callers 1

create_project_authFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected