code: def deploy(self, environment=None):
      environment = _check_environemt(environment)
      mlops_connection = create_mlops_connection()
      project = get_or_create_project(mlops_connection)
      return _deploy(self, mlops_connection, project, environment)
  
imports: import h2o_cloud_extensions
  import h2o_mlops_client
  import time
  import h2o
  from .status import _is_model_deployed, _is_model_published
  from .connect import *
  from .utils import *
label_desc: Use image node_id 1 for calling a global function with example usage: deploy(environment) and returns: _deploy