code: def get_field(
      *, conn_id: str, conn_type: str, extras: dict, field_name: str
  ):
      """Get field from extra, first checking short name, then for backcompat we check for prefixed name."""
      backcompat_prefix = f"extra__{conn_type}__"
      backcompat_key = f"{backcompat_prefix}{field_name}"
      ret = None
      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:
          if backcompat_key in extras:
              warnings.warn(
                  f"Conflicting params `{field_name}` and `{backcompat_key}` found in extras for conn "
                  f"{conn_id}. Using value for `{field_name}`.  Please ensure this is the correct "
                  f"value and remove the backcompat key `{backcompat_key}`."
              )
          ret = extras[field_name]
      elif backcompat_key in extras:
          ret = extras.get(backcompat_key)
      if ret == "":
          return None
      return ret
  
file_path: airflow/airflow/providers/microsoft/azure/utils.py
imports: from __future__ import annotations
  import warnings
  from functools import partial, wraps
  from azure.core.pipeline import PipelineContext, PipelineRequest
  from azure.core.pipeline.policies import BearerTokenCredentialPolicy
  from azure.core.pipeline.transport import HttpRequest
  from azure.identity import DefaultAzureCredential
  from azure.identity.aio import DefaultAzureCredential
  from msrest.authentication import BasicTokenAuthentication
label_desc: Use image node_id 1 for calling a global function with example usage: get_field() and returns: ret, None