code: def _get_matching_version(config_entry, org):
      if org:
          return config_entry["versions"].get(org, None)
      elif len(config_entry["versions"]) == 1:
          return list(config_entry["versions"].values())[0]
      elif "default" in config_entry:
          return config_entry["default"]
      else:
          raise ValueError(
              "Multiple adapters with this name are available for this config."
          )
  
imports: import ast
  import fnmatch
  import hashlib
  import inspect
  import io
  import json
  import logging
  import os
  import re
  import shutil
  import tarfile
  import tempfile
  from collections.abc import Mapping
  from contextlib import contextmanager
  from dataclasses import dataclass
  from enum import Enum
  from functools import partial
  from os.path import basename, isdir, isfile, join
  from pathlib import Path
  from typing import Callable, Dict, List, Optional, Tuple, Union
  from urllib.parse import urlparse
  from zipfile import ZipFile, is_zipfile
  import torch
  import requests
  from filelock import FileLock
  from huggingface_hub import HfApi, HfFolder, snapshot_download
  from huggingface_hub.file_download import http_get, url_to_filename
  from huggingface_hub.utils import EntryNotFoundError, RepositoryNotFoundError, RevisionNotFoundError, hf_raise_for_status
  from requests.exceptions import HTTPError
  from transformers.utils import http_user_agent, is_remote_url
  from transformers.utils.hub import torch_cache_home
  from .None import __version__
  from .context import ForwardContext
label_desc: Use image node_id 13 for calling a global function with example usage: _get_matching_version(config_entry, org) and returns: config_entry, list, config_entry