Retrieve stored reset timestamp from EPGSource model field.
(self, source)
| 159 | ) |
| 160 | |
| 161 | def _get_sd_reset_at(self, source): |
| 162 | """Retrieve stored reset timestamp from EPGSource model field.""" |
| 163 | reset_at_str = (source.custom_properties or {}).get('sd_changes_reset_at') |
| 164 | return reset_at_str |
| 165 | |
| 166 | def _get_sd_changes_remaining(self, source): |
| 167 | """ |