code: def p_datetime_date(p):
      "datetime : date"
      date = p[1]
      p[0] = lambda ref: _datetime_for_date(date(ref))
  
imports: from datetime import datetime, date, time, timedelta
  from guild import _yacc
  from .None import trlex
label_desc: Use image node_id 2 for calling a global function with example usage: p_datetime_date(p) without return types