Skip to content

Commit

Permalink
Add more type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Oct 12, 2023
1 parent 752886f commit 6614471
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions maxminddb/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__(
Expand Down

0 comments on commit 6614471

Please sign in to comment.