Update type annotation, savepoint_id is an int.
This commit is contained in:
parent
a76982e581
commit
9c9123e2d2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue