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."""
      if field_name.startswith("extra__"):
          raise ValueError(
              f"Got prefixed name {field_name}; please remove the 'extra__google_cloud_platform__' prefix "
              "when using this method."
          )
      if field_name in extras:
          return extras[field_name] or None
      prefixed_name = f"extra__google_cloud_platform__{field_name}"
      return extras.get(prefixed_name) or None
  
imports: from __future__ import annotations
  import functools
  import json
  import logging
  import os
  import tempfile
  import warnings
  from contextlib import ExitStack, contextmanager
  from subprocess import check_output
  from typing import TYPE_CHECKING, Any, Callable, Generator, Sequence, TypeVar, cast
  import google.auth
  import google.auth.credentials
  import google.oauth2.service_account
  import google_auth_httplib2
  import requests
  import tenacity
  from asgiref.sync import sync_to_async
  from google.api_core.exceptions import Forbidden, ResourceExhausted, TooManyRequests
  from google.auth import _cloud_sdk, compute_engine
  from google.auth.environment_vars import CLOUD_SDK_CONFIG_DIR, CREDENTIALS
  from google.auth.exceptions import RefreshError
  from google.auth.transport import _http_client
  from googleapiclient import discovery
  from googleapiclient.errors import HttpError
  from googleapiclient.http import MediaIoBaseDownload, build_http, set_user_agent
  from airflow import version
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
  from airflow.hooks.base import BaseHook
  from airflow.providers.google.cloud.utils.credentials_provider import _get_scopes, _get_target_principal_and_delegates, get_credentials_and_project_id
  from airflow.providers.google.common.consts import CLIENT_INFO
  from airflow.utils.process_utils import patch_environ
label_desc: Use image node_id 3 for calling a global function with example usage: get_field(extras, field_name) and returns: unknown, unknown