Skip to content

Commit

Permalink
airbyte-cdk: fix mypy check results
Browse files Browse the repository at this point in the history
  • Loading branch information
aldogonzalez8 committed Nov 27, 2024
1 parent 6162198 commit 0d40f92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airbyte_cdk/sources/streams/http/http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def __init__(
self._disable_retries = disable_retries
self._message_repository = message_repository

def __del__(self):
def __del__(self) -> None:
if self._is_session_owner:
self._session.close()

Expand Down Expand Up @@ -340,7 +340,7 @@ def _send(

return response # type: ignore # will either return a valid response of type requests.Response or raise an exception

def _evict_key(self, prepared_request: requests.PreparedRequest):
def _evict_key(self, prepared_request: requests.PreparedRequest) -> None:
if prepared_request in self._request_attempt_count:
del self._request_attempt_count[prepared_request]

Expand Down

0 comments on commit 0d40f92

Please sign in to comment.