Skip to content

Release 0.7.0

Latest
Compare
Choose a tag to compare
@ddanier ddanier released this 23 Apr 16:56
  • More types are not checked for equality and will not trigger model_has_changed to be true
    • datetime/date/time/timedelta
    • list/set/tuple and also dict
    • pydantic.BaseModel instances, as pydantic supports comparing those
  • You may not override checking for equality more easily using the two methods _model_value_is_comparable_type and _model_value_is_actually_unchanged. If any type is missing for you, feel free to extend the class 😉