Closed mitra42 closed 4 years ago
gack... i think this is confusing, in what cases should you use map_over_dict and which cases shouldn't you? Perhaps if we don't have a clear way of doing this we should just remove it.
Good point, I don't have a problem with it being removed - once we had the third dict there are two possibilities a) "Map over all dicts" or b) "map over those dicts that contain data points".
(b) is used just once in _update while (a) is used twice in the expiry process so I arbitrarily chose it.
That doesn't show up in the "files changed" for this PR, but I still think the PR is valid. If you prefer you could remove its use in the two calls at the bottom of contacts.py ?
Expire data in unused_update dict
Closes #137