From 3dd5f37e76ee94e5ac6ac57ec0b77b4cfc2663bf Mon Sep 17 00:00:00 2001 From: Dhrumil Mistry <56185972+dmdhrumilmistry@users.noreply.github.com> Date: Thu, 1 Feb 2024 19:29:17 +0530 Subject: [PATCH] remove ssl param from http.py module --- src/offat/http.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/offat/http.py b/src/offat/http.py index 905b608..b09aa24 100644 --- a/src/offat/http.py +++ b/src/offat/http.py @@ -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: @@ -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