From f31af951f81e9d63cca27d8432729b88ec554f8b Mon Sep 17 00:00:00 2001 From: mio Date: Tue, 24 Dec 2024 00:05:33 +0800 Subject: [PATCH] Fix typing --- mdbx/mdbx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdbx/mdbx.py b/mdbx/mdbx.py index d879200..274190c 100644 --- a/mdbx/mdbx.py +++ b/mdbx/mdbx.py @@ -2506,7 +2506,7 @@ def close(self): """ pass - def get(self, txn: TXN, key: bytes) -> bytes: + def get(self, txn: TXN, key: bytes) -> Optional[bytes]: """ Wrapper around mdbx_get.