MCPcopy Index your code
hub / github.com/ray-project/ray / make_function_table_key

Function make_function_table_key

python/ray/_private/function_manager.py:52–56  ·  view source on GitHub ↗
(key_type: bytes, job_id: JobID, key: Optional[bytes])

Source from the content-addressed store, hash-verified

50
51
52def make_function_table_key(key_type: bytes, job_id: JobID, key: Optional[bytes]):
53 if key is None:
54 return b":".join([key_type, job_id.hex().encode()])
55 else:
56 return b":".join([key_type, job_id.hex().encode(), key])
57
58
59def build_setup_hook_export_entry(

Callers 5

exportMethod · 0.85
_wait_for_functionMethod · 0.85
export_actor_classMethod · 0.85

Calls 3

joinMethod · 0.45
encodeMethod · 0.45
hexMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…