def get_history(obj, key, passive=PASSIVE_OFF):
 if (passive is True):
  util.warn_deprecated("Passing True for 'passive' is deprecated. Use attributes.PASSIVE_NO_INITIALIZE")
  passive = PASSIVE_NO_INITIALIZE
 elif (passive is False):
  util.warn_deprecated("Passing False for 'passive' is deprecated.  Use attributes.PASSIVE_OFF")
  passive = PASSIVE_OFF
 return get_state_history(instance_state(obj), key, passive)

def get_history ( obj , key , passive = PASSIVE_OFF ) : if ( passive is True ) : util . warn_deprecated ( "Passing True for 'passive' is deprecated. Use attributes.PASSIVE_NO_INITIALIZE" ) passive = PASSIVE_NO_INITIALIZE elif ( passive is False ) : util . warn_deprecated ( "Passing False for 'passive' is deprecated.  Use attributes.PASSIVE_OFF" ) passive = PASSIVE_OFF return get_state_history ( instance_state ( obj ) , key , passive )
return a :class: .