MCPcopy Create free account
hub / github.com/dbcli/mssql-cli / random_str

Function random_str

utility.py:100–101  ·  view source on GitHub ↗
(size=12, chars=string.ascii_uppercase + string.digits)

Source from the content-addressed store, hash-verified

98
99
100def random_str(size=12, chars=string.ascii_uppercase + string.digits):
101 return ''.join(random.choice(chars) for x in range(size))

Calls

no outgoing calls

Tested by 5

create_test_dbFunction · 0.72
tmp_filepathMethod · 0.68