Skip to content

Commit 069ebf3

Browse files
authored
PYTHON-5037 - Update pyopenssl_context.__get_options type hint (#2060)
1 parent ecf7ac7 commit 069ebf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymongo/pyopenssl_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def __set_check_ocsp_endpoint(self, value: bool) -> None:
273273

274274
check_ocsp_endpoint = property(__get_check_ocsp_endpoint, __set_check_ocsp_endpoint)
275275

276-
def __get_options(self) -> None:
276+
def __get_options(self) -> int:
277277
# Calling set_options adds the option to the existing bitmask and
278278
# returns the new bitmask.
279279
# https://www.pyopenssl.org/en/stable/api/ssl.html#OpenSSL.SSL.Context.set_options

0 commit comments

Comments
 (0)