MCPcopy
hub / github.com/scrapy/scrapy / random_string

Method random_string

tests/test_pipeline_images.py:370–371  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

368 """
369
370 def random_string():
371 return "".join([chr(random.randint(97, 123)) for _ in range(10)])
372
373 settings = {
374 "IMAGES_EXPIRES": random.randint(100, 1000),

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected