(self, must_create=False)
| 86 | ) |
| 87 | |
| 88 | def save(self, must_create=False): |
| 89 | super().save(must_create) |
| 90 | try: |
| 91 | self._cache.set(self.cache_key, self._session, self.get_expiry_age()) |
| 92 | except Exception: |
| 93 | logger.exception("Error saving to cache (%s)", self._cache) |
| 94 | |
| 95 | async def asave(self, must_create=False): |
| 96 | await super().asave(must_create) |
nothing calls this directly
no test coverage detected