class_docstr: Stores artifacts on Cloudflare R2.
code: def convert_r2_uri_to_s3_endpoint_url(r2_uri):
      host = urlparse(r2_uri).netloc
      host_without_bucket = host.split("@")[-1]
      return f"https://{host_without_bucket}"
  
file_path: mlflow/mlflow/store/artifact/r2_artifact_repo.py
imports: from urllib.parse import urlparse
  from mlflow.store.artifact.optimized_s3_artifact_repo import OptimizedS3ArtifactRepository
  from mlflow.store.artifact.s3_artifact_repo import _get_s3_client
label_desc: Use image node_id 4 for calling the R2ArtifactRepository obj's underlying member method code with example usage: obj.convert_r2_uri_to_s3_endpoint_url(r2_uri) and returns: str, host_without_bucket