python/ray/ml/checkpoint.py
def _get_external_path(path: Optional[str]) -> Optional[str]:
    """Check if path is an external path. Otherwise return None."""
    if not isinstance(path, str) or not is_non_local_path_uri(path):
        return None
    return path
Check if path is an external path. Otherwise return None.
Check if path is an external path. Otherwise return None.
Check if path is an external path . Otherwise return None .
def _get_external_path(path: Optional[str]) -> Optional[str]:
    if not isinstance(path, str) or not is_non_local_path_uri(path):
        return None
    return path
def _get_external_path ( path : Optional [ str ] ) -> Optional [ str ] : if not isinstance ( path , str ) or not is_non_local_path_uri ( path ) : return None return path
Check if path is an external path.
Check if path is an external path .
"""Check if path is an external path. Otherwise return None."""
path
Optional[str]