mirror of
https://github.com/vale981/ray
synced 2025-03-14 15:16:38 -04:00
5 lines
251 B
Python
5 lines
251 B
Python
def is_anyscale_connect(address: str) -> bool:
|
|
"""Returns whether or not the Ray Address points to an Anyscale cluster."""
|
|
is_anyscale_connect = address is not None and address.startswith(
|
|
"anyscale://")
|
|
return is_anyscale_connect
|