code: def _model_metadata_example(path):
      with open(path) as repository_json_file:
          repository_json = json.load(repository_json_file)
  
      metadata_json = repository_json["metadata"]
      models_json = repository_json["operations"]
  
      current_model_key = list(models_json.keys())[0]
      model_properties = [
          model_properties
          for model_key, model_properties in list(models_json.items())
          if model_key == current_model_key
      ][0]
      model_metadata = metadata_json[model_properties["meta"]]
      return model_metadata
  
file_path: FEDOT/test/integration/models/test_repository.py
imports: import json
  import os
  from fedot.core.operations.evaluation.classification import SkLearnClassificationStrategy
  from fedot.core.repository.json_evaluation import import_enums_from_str, import_strategy_from_str, read_field
  from fedot.core.repository.operation_types_repository import OperationTypesRepository, get_operation_type_from_id
  from fedot.core.repository.pipeline_operation_repository import PipelineOperationRepository
  from fedot.core.repository.tasks import Task, TaskTypesEnum
label_desc: Use image node_id 8 for calling a global function with example usage: _model_metadata_example(path) and returns: model_metadata