drop old router var special case

@masenf and I fixed some var dependency issues a while ago
This commit is contained in:
Benedikt Bartscher 2024-12-06 01:45:53 +01:00
parent c721227a06
commit bc33b8c96d
No known key found for this signature in database

View File

@ -1330,11 +1330,6 @@ class BaseState(Base, ABC, extra=pydantic.Extra.allow):
self.dirty_vars.add(name)
self._mark_dirty()
# For now, handle router_data updates as a special case
if name == constants.ROUTER_DATA:
self.dirty_vars.add(name)
self._mark_dirty()
def reset(self):
"""Reset all the base vars to their default values."""
# Reset the base vars.