code: def make_naive(value, timezone=None):
      """
      Make an aware datetime.datetime naive in a given time zone.
  
      :param value: datetime
      :param timezone: timezone
      :return: naive datetime
      """
      if timezone is None:
          from airflow.settings import TIMEZONE
  
          timezone = TIMEZONE
  
      # Emulate the behavior of astimezone() on Python < 3.6.
      if is_naive(value):
          raise ValueError(
              "make_naive() cannot be applied to a naive datetime"
          )
  
      date = value.astimezone(timezone)
  
      # cross library compatibility
      naive = dt.datetime(
          date.year,
          date.month,
          date.day,
          date.hour,
          date.minute,
          date.second,
          date.microsecond,
      )
  
      return naive
  
imports: from __future__ import annotations
  import datetime
  from typing import TYPE_CHECKING, overload
  import pendulum
  from dateutil.relativedelta import relativedelta
  from pendulum.datetime import DateTime
label_desc: Use image node_id 12 for calling a global function with example usage: make_naive(value, timezone) and returns: naive