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)
| 327 | |
| 328 | |
| 329 | def _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 | |
| 340 | def _get_builder_from_address(address: Optional[str]) -> ClientBuilder: |
no test coverage detected
searching dependent graphs…