From 54ea5dc232d188fa6b2da2234ede6c3d24c81724 Mon Sep 17 00:00:00 2001 From: Andrei Date: Wed, 18 Dec 2024 19:18:58 +0300 Subject: [PATCH] Update sio_captcha_instrument.py --- src/python3_anticaptcha/core/sio_captcha_instrument.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/python3_anticaptcha/core/sio_captcha_instrument.py b/src/python3_anticaptcha/core/sio_captcha_instrument.py index ca79f1b..0f4304f 100644 --- a/src/python3_anticaptcha/core/sio_captcha_instrument.py +++ b/src/python3_anticaptcha/core/sio_captcha_instrument.py @@ -8,7 +8,6 @@ from urllib.parse import urljoin import requests from requests.adapters import HTTPAdapter -from .base import CaptchaParams from .enum import SaveFormatsEnm, ResponseStatusEnm from .const import RETRIES, BASE_REQUEST_URL, GET_RESULT_POSTFIX, CREATE_TASK_POSTFIX from .utils import attempts_generator @@ -23,7 +22,7 @@ class SIOCaptchaInstrument(CaptchaInstrument): Instrument for working with sync captcha """ - def __init__(self, captcha_params: CaptchaParams): + def __init__(self, captcha_params: "CaptchaParams"): super().__init__() self.captcha_params = captcha_params # prepare session