code: def _unit_delta(n, unit):
      unit = unit.lower()
      if unit == "m":
          return timedelta(minutes=n)
      if unit == "h":
          return timedelta(hours=n)
      if unit == "d":
          return timedelta(days=n)
      assert False, unit
  
imports: from datetime import datetime, date, time, timedelta
  from guild import _yacc
  from .None import trlex
label_desc: Use image node_id 45 for calling a global function with example usage: _unit_delta(n, unit) and returns: timedelta, timedelta, timedelta