MCPcopy Index your code
hub / github.com/vastsa/FileCodeBox / get_random_string

Function get_random_string

core/utils.py:27–32  ·  view source on GitHub ↗

获取随机字符串 :return:

()

Source from the content-addressed store, hash-verified

25
26
27async def get_random_string():
28 """
29 获取随机字符串
30 :return:
31 """
32 return "".join(secrets.choice(r_s) for _ in range(5))
33
34
35async def get_now():

Callers 1

get_random_codeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected