From 5b296f6f76a10669929397fdad76e7d91c65fc55 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Wed, 11 Oct 2023 13:21:09 -0700 Subject: [PATCH] Add more type hints --- maxminddb/reader.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/maxminddb/reader.py b/maxminddb/reader.py index f4af118..1744123 100644 --- a/maxminddb/reader.py +++ b/maxminddb/reader.py @@ -36,6 +36,10 @@ class Reader: _METADATA_START_MARKER = b"\xAB\xCD\xEFMaxMind.com" _buffer: Union[bytes, FileBuffer, "mmap.mmap"] + _buffer_size: int + closed: bool + _decoder: Decoder + _metadata: "Metadata" _ipv4_start: int def __init__(