code: def load_h2o(path_to_operation, log):
      from fedot.core.operations.evaluation.automl import (
          H2OSerializationWrapper,
      )
  
      try:
          return H2OSerializationWrapper.load_operation(
              path_to_operation
          )
      except EnvironmentError as e:
          message = f"Obtained type of H2O pipeline does not serializable: {e}"
          log.error(message)
          raise EnvironmentError(message)
  
imports: import json
  import os
  from collections import Counter
  from datetime import datetime
  from io import BytesIO
  from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Tuple, Union
  from uuid import uuid4
  import joblib
  import numpy
  from golem.core.log import default_log
  from fedot.core.operations.atomized_template import AtomizedModelTemplate
  from fedot.core.operations.operation_template import OperationTemplate, check_existing_path
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.repository.operation_types_repository import atomized_model_type
  from fedot.preprocessing.dummy_preprocessing import DummyPreprocessor
  from fedot.preprocessing.preprocessing import DataPreprocessor
label_desc: Use image node_id 2 for calling a global function with example usage: load_h2o(path_to_operation, log) and returns: H2OSerializationWrapper