(self)
| 54 | ) |
| 55 | |
| 56 | def load_requests(self): |
| 57 | with self._lock: |
| 58 | rows = self._conn.execute("SELECT payload FROM requests ORDER BY submit_time").fetchall() |
| 59 | return [json.loads(r["payload"]) for r in rows] |
| 60 | |
| 61 | def count_requests(self): |
| 62 | with self._lock: |
no outgoing calls