Skip to content

Commit

Permalink
remove ssl param from http.py module
Browse files Browse the repository at this point in the history
  • Loading branch information
dmdhrumilmistry committed Feb 1, 2024
1 parent c4e3592 commit 3dd5f37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/offat/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AsyncRequests:
AsyncRequests class helps to send HTTP requests with rate limiting options.
'''

def __init__(self, rate_limit: float = 50, headers: dict | None = None, proxy: str | None = None, ssl: bool = True, allow_redirects: bool = True, timeout: float = 60) -> None:
def __init__(self, rate_limit: float = 50, headers: dict | None = None, proxy: str | None = None, allow_redirects: bool = True, timeout: float = 60) -> None:
'''AsyncRequests class constructor
Args:
Expand All @@ -26,7 +26,6 @@ def __init__(self, rate_limit: float = 50, headers: dict | None = None, proxy: s
headers (dict): overrides default headers while sending HTTP requests
proxy (str): proxy URL to be used while sending requests
timeout (float): total timeout parameter of aiohttp.ClientTimeout
ssl (bool): ignores few SSL errors if value is False
Returns:
None
Expand Down

0 comments on commit 3dd5f37

Please sign in to comment.