MCPcopy
hub / github.com/hyperopt/hyperopt / _get_random_id

Function _get_random_id

hyperopt/utils.py:18–22  ·  view source on GitHub ↗

Generates a random ID.

()

Source from the content-addressed store, hash-verified

16
17
18def _get_random_id():
19 """
20 Generates a random ID.
21 """
22 return uuid.uuid4().hex[-12:]
23
24
25def _get_logger(name):

Callers 1

__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected