class_docstr: Stores artifacts on Cloudflare R2.
code: def _get_region_name(self):
      # note: s3 client enforces path addressing style for get_bucket_location
      temp_client = _get_s3_client(
          addressing_style="path",
          access_key_id=self._access_key_id,
          secret_access_key=self._secret_access_key,
          session_token=self._session_token,
          s3_endpoint_url=self._s3_endpoint_url,
      )
      return temp_client.get_bucket_location(Bucket=self.bucket)[
          "LocationConstraint"
      ]
  
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 2 for calling the R2ArtifactRepository obj's underlying member method code with example usage: obj._get_region_name() and returns: temp_client