PYTHON-3779 add types to compression_support.py (#1288)

This commit is contained in:
Iris 2023-07-06 08:17:05 -07:00 committed by GitHub
parent 7d7118bde4
commit 919d7f3585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ class SnappyContext:
class ZlibContext:
compressor_id = 2
def __init__(self, level):
def __init__(self, level: int):
self.level = level
def compress(self, data: bytes) -> bytes: