Skip to content

Commit

Permalink
Add return type for session close
Browse files Browse the repository at this point in the history
  • Loading branch information
tadasg6 committed Apr 23, 2024
1 parent 0260de1 commit 1d31858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion curl_cffi/requests/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ def __enter__(self):
def __exit__(self, *args):
self.close()

def close(self):
def close(self) -> None:
"""Close the session."""
self._closed = True
self.curl.close()
Expand Down

0 comments on commit 1d31858

Please sign in to comment.