(self)
| 429 | return uuid_obj.value |
| 430 | |
| 431 | def get_startup_last_send(self): |
| 432 | # Stored as a Unix timestamp |
| 433 | try: |
| 434 | timestamp = self.get(key=ExplorerValue.STARTUP_METRIC_LAST_SEND).value |
| 435 | if timestamp: |
| 436 | return float(timestamp) |
| 437 | return None |
| 438 | except ExplorerValue.DoesNotExist: |
| 439 | return None |
| 440 | |
| 441 | def set_startup_last_send(self, ts): |
| 442 | obj, created = self.get_or_create( |
no test coverage detected