From 9c9123e2d286878fd83849ccd53d80574de298f3 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Tue, 22 Mar 2022 22:16:42 -0700 Subject: [PATCH] Update type annotation, savepoint_id is an int. --- voussoirkit/worms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voussoirkit/worms.py b/voussoirkit/worms.py index 332232c..db87327 100644 --- a/voussoirkit/worms.py +++ b/voussoirkit/worms.py @@ -384,7 +384,7 @@ class Database(metaclass=abc.ABCMeta): self.savepoints.clear() self.on_commit_queue.clear() - def savepoint(self, message=None) -> str: + def savepoint(self, message=None) -> int: savepoint_id = RNG.getrandbits(32) if message: log.log(5, 'Savepoint %s for %s.', savepoint_id, message)