code: def _get_field(extras: dict, field_name: str):
      """Get field from extra, first checking short name, then for backcompat we check for prefixed name."""
      backcompat_prefix = "extra__dataprep__"
      if field_name.startswith("extra__"):
          raise ValueError(
              f"Got prefixed name {field_name}; please remove the '{backcompat_prefix}' prefix "
              "when using this method."
          )
      if field_name in extras:
          return extras[field_name] or None
      prefixed_name = f"{backcompat_prefix}{field_name}"
      return extras.get(prefixed_name) or None
  
imports: from __future__ import annotations
  import json
  from enum import Enum
  from typing import Any
  from urllib.parse import urljoin
  import requests
  from requests import HTTPError
  from tenacity import retry, stop_after_attempt, wait_exponential
  from airflow.hooks.base import BaseHook
label_desc: Use image node_id 1 for calling a global function with example usage: _get_field(extras, field_name) and returns: unknown, unknown