(self)
| 717 | |
| 718 | @property |
| 719 | def is_valid(self) -> bool: |
| 720 | return self.active and (not self.expires_at or self.expires_at > timezone.now()) |
| 721 | |
| 722 | @hook(AFTER_SAVE, when="_should_update_dynamo", is_now=True) |
| 723 | def send_to_dynamo(self): # type: ignore[no-untyped-def] |
no outgoing calls