@@ -158,8 +158,7 @@ async def aio_get_balance(self) -> dict:
158158 Notes:
159159 https://anti-captcha.com/apidoc/methods/getBalance
160160 """
161- self ._captcha_handling_instrument = AIOCaptchaInstrument (captcha_params = self )
162- return await self ._captcha_handling_instrument .send_post_request (
161+ return await AIOCaptchaInstrument .send_post_request (
163162 url_postfix = ControlPostfixEnm .GET_BALANCE , payload = {"clientKey" : self .create_task_payload .clientKey }
164163 )
165164
@@ -346,8 +345,7 @@ async def aio_get_spending_stats(self, **kwargs) -> dict:
346345 Notes:
347346 https://anti-captcha.com/apidoc/methods/getSpendingStats
348347 """
349- self ._captcha_handling_instrument = AIOCaptchaInstrument (captcha_params = self )
350- return await self ._captcha_handling_instrument .send_post_request (
348+ return await AIOCaptchaInstrument .send_post_request (
351349 url_postfix = ControlPostfixEnm .GET_SPENDING_STATS ,
352350 payload = {"clientKey" : self .create_task_payload .clientKey , ** kwargs },
353351 )
@@ -431,8 +429,7 @@ async def aio_get_app_stats(self, softId: int, mode: Optional[str] = None) -> di
431429 Notes:
432430 https://anti-captcha.com/apidoc/methods/getAppStats
433431 """
434- self ._captcha_handling_instrument = AIOCaptchaInstrument (captcha_params = self )
435- return await self ._captcha_handling_instrument .send_post_request (
432+ return await AIOCaptchaInstrument .send_post_request (
436433 url_postfix = ControlPostfixEnm .GET_APP_STATS ,
437434 payload = {"clientKey" : self .create_task_payload .clientKey , "softId" : softId , "mode" : mode },
438435 )
@@ -480,8 +477,7 @@ async def aio_report_incorrect_image(self, taskId: int) -> dict:
480477 Notes:
481478 https://anti-captcha.com/apidoc/methods/reportIncorrectImageCaptcha
482479 """
483- self ._captcha_handling_instrument = AIOCaptchaInstrument (captcha_params = self )
484- return await self ._captcha_handling_instrument .send_post_request (
480+ return await AIOCaptchaInstrument .send_post_request (
485481 url_postfix = ControlPostfixEnm .REPORT_INCORRECT_IMAGE_CAPTCHA ,
486482 payload = {"clientKey" : self .create_task_payload .clientKey , "taskId" : taskId },
487483 )
@@ -529,8 +525,7 @@ async def aio_report_incorrect_recaptcha(self, taskId: int) -> dict:
529525 Notes:
530526 https://anti-captcha.com/apidoc/methods/reportIncorrectRecaptcha
531527 """
532- self ._captcha_handling_instrument = AIOCaptchaInstrument (captcha_params = self )
533- return await self ._captcha_handling_instrument .send_post_request (
528+ return await AIOCaptchaInstrument .send_post_request (
534529 url_postfix = ControlPostfixEnm .REPORT_INCORRECT_RECAPTCHA ,
535530 payload = {"clientKey" : self .create_task_payload .clientKey , "taskId" : taskId },
536531 )
@@ -578,8 +573,7 @@ async def aio_report_correct_recaptcha(self, taskId: int) -> dict:
578573 Notes:
579574 https://anti-captcha.com/apidoc/methods/reportCorrectRecaptcha
580575 """
581- self ._captcha_handling_instrument = AIOCaptchaInstrument (captcha_params = self )
582- return await self ._captcha_handling_instrument .send_post_request (
576+ return await AIOCaptchaInstrument .send_post_request (
583577 url_postfix = ControlPostfixEnm .REPORT_CORRECT_RECAPTCHA ,
584578 payload = {"clientKey" : self .create_task_payload .clientKey , "taskId" : taskId },
585579 )
@@ -627,8 +621,7 @@ async def aio_report_incorrect_hcaptcha(self, taskId: int) -> dict:
627621 Notes:
628622 https://anti-captcha.com/apidoc/methods/reportIncorrectHcaptcha
629623 """
630- self ._captcha_handling_instrument = AIOCaptchaInstrument (captcha_params = self )
631- return await self ._captcha_handling_instrument .send_post_request (
624+ return await AIOCaptchaInstrument .send_post_request (
632625 url_postfix = ControlPostfixEnm .REPORT_INCORRECT_HCAPTCHA ,
633626 payload = {"clientKey" : self .create_task_payload .clientKey , "taskId" : taskId },
634627 )
0 commit comments