code: def _upload_artifact(mlops_connection, project, mojo_file_path):
      artifact = mlops_connection.storage.artifact.create_artifact(
          h2o_mlops_client.StorageCreateArtifactRequest(
              h2o_mlops_client.StorageArtifact(
                  entity_id=project.id,
                  mime_type=mimetypes.types_map[".zip"],
              )
          )
      ).artifact
  
      with open(mojo_file_path, "rb") as mojo_file:
          mlops_connection.storage.artifact.upload_artifact(
              file=mojo_file, artifact_id=artifact.id
          )
  
      return artifact
  
imports: import h2o.h2o
  from .connect import *
  from .utils import *
  from .status import _is_model_published
  from .deploy import deploy
  import warnings
  import os
  import mimetypes
  import h2o_mlops_client
  import h2o_cloud_extensions
label_desc: Use image node_id 5 for calling a global function with example usage: _upload_artifact(mlops_connection, project, mojo_file_path) and returns: artifact