Closed hancush closed 5 years ago
Attributes defined at the class level should be immutable, as a whole class of mysterious bugs occurs when a class attribute is changed.
This PR defines update_since in the handle method, instead of at the class-level, because we do indeed update it sometimes.
update_since
handle
Tests will pass once https://github.com/datamade/django-councilmatic-notifications/pull/31 is brought in.
Attributes defined at the class level should be immutable, as a whole class of mysterious bugs occurs when a class attribute is changed.
This PR defines
update_since
in thehandle
method, instead of at the class-level, because we do indeed update it sometimes.