MCPcopy
hub / github.com/scrapy/scrapy / generate_random_string

Function generate_random_string

tests/test_http2_client_protocol.py:50–51  ·  view source on GitHub ↗
(size: int)

Source from the content-addressed store, hash-verified

48
49
50def generate_random_string(size: int) -> str:
51 return "".join(random.choices(string.ascii_uppercase + string.digits, k=size))
52
53
54def make_html_body(val: str) -> bytes:

Callers 2

DataClass · 0.85
test_query_parametersMethod · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…