Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-darkly committed Dec 29, 2022
1 parent f99e610 commit aaad50d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ld_eventsource/sse_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import logging
import time
from typing import Iterable, Iterator, Optional, Union
from urllib3 import BaseHTTPResponse, PoolManager
from urllib3 import HTTPResponse, PoolManager
from urllib3.exceptions import MaxRetryError
from urllib3.util import Retry

Expand Down Expand Up @@ -102,7 +102,7 @@ def __init__(

self.__closed = False
self.__first_attempt = True
self.__response = None # type: Optional[BaseHTTPResponse]
self.__response = None # type: Optional[HTTPResponse]
self.__stream = None # type: Optional[Iterator[bytes]]

if not defer_connect:
Expand Down

0 comments on commit aaad50d

Please sign in to comment.