code: def publish_automl(self, strategy=None):
      models_to_publish = _get_automl_models(self, strategy)
      if models_to_publish:
          mlops_connection = create_mlops_connection()
          project = get_or_create_project(mlops_connection)
          published_models = []
          for model in models_to_publish:
              if _publish_estimator(model, mlops_connection, project):
                  published_models.append(model)
          if (
              h2o_cloud_extensions.settings.mlops.automl.automatic_deployment
          ):
              for published_model in published_models:
                  deploy(published_model)
  
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 14 for calling a global function with example usage: publish_automl(strategy) without return types