MCPcopy
hub / github.com/ray-project/ray / _split_address

Function _split_address

python/ray/client_builder.py:329–337  ·  view source on GitHub ↗

Splits address into a module string (scheme) and an inner_address. If the scheme is not present, then "ray://" is prepended to the address.

(address: str)

Source from the content-addressed store, hash-verified

327
328
329def _split_address(address: str) -> Tuple[str, str]:
330 """
331 Splits address into a module string (scheme) and an inner_address.
332
333 If the scheme is not present, then "ray://" is prepended to the address.
334 """
335 if "://" not in address:
336 address = "ray://" + address
337 return split_address(address)
338
339
340def _get_builder_from_address(address: Optional[str]) -> ClientBuilder:

Callers 1

Calls 1

split_addressFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…