MCPcopy
hub / github.com/plotly/dash / gen_salt

Function gen_salt

dash/_utils.py:271–274  ·  view source on GitHub ↗
(chars)

Source from the content-addressed store, hash-verified

269
270
271def gen_salt(chars):
272 return "".join(
273 secrets.choice(string.ascii_letters + string.digits) for _ in range(chars)
274 )
275
276
277class OrderedSet(abc.MutableSet):

Callers 1

enable_dev_toolsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…