MCPcopy Create free account
hub / github.com/alibaba/GraphScope / random_string

Function random_string

python/graphscope/framework/utils.py:248–250  ·  view source on GitHub ↗

Create random string which length is `nlen`.

(nlen)

Source from the content-addressed store, hash-verified

246
247
248def random_string(nlen):
249 """Create random string which length is `nlen`."""
250 return "".join([random.choice(string.ascii_lowercase) for _ in range(nlen)])
251
252
253def get_tempdir():

Callers 8

_get_free_namespaceMethod · 0.90
__init__Method · 0.90
store_to_pvcMethod · 0.90
restore_from_pvcMethod · 0.90
generateIdMethod · 0.50
RunCTXSSSPFunction · 0.50
QueryPropertyFunction · 0.50
QueryProjectedFunction · 0.50

Calls 1

joinMethod · 0.45

Tested by 3

RunCTXSSSPFunction · 0.40
QueryPropertyFunction · 0.40
QueryProjectedFunction · 0.40