Skip to content

Commit 7bc3c76

Browse files
author
Andrei
authored
Merge pull request #177 from AndreiDrang/main
upd
2 parents 8fc1afa + a36cc31 commit 7bc3c76

File tree

6 files changed

+10
-1
lines changed

6 files changed

+10
-1
lines changed

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sphinx==8.0.2
1+
sphinx==8.1.3
22
pallets_sphinx_themes==2.1.3
33
myst-parser==4.0.0
44
autodoc_pydantic==2.2.0

src/python3_anticaptcha/control.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
from .core.base import BaseCaptcha
44
from .core.enum import ControlPostfixEnm
55

6+
__all__ = ("Control",)
7+
68

79
class Control(BaseCaptcha):
810
def __init__(

src/python3_anticaptcha/core/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
from .serializer import CreateTaskBaseSer, CreateTaskResponseSer, GetTaskResultRequestSer, GetTaskResultResponseSer
1818
from .result_handler import get_sync_result, get_async_result
1919

20+
__all__ = ("BaseCaptcha",)
21+
2022

2123
class BaseCaptcha:
2224
NO_CAPTCHA_ERR = "You did not send any file, local link or URL."

src/python3_anticaptcha/core/result_handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
from .config import RETRIES, BASE_REQUEST_URL, GET_RESULT_POSTFIX, attempts_generator
1111
from .serializer import GetTaskResultRequestSer, GetTaskResultResponseSer
1212

13+
__all__ = ("get_sync_result", "get_async_result")
14+
1315

1416
def get_sync_result(
1517
result_payload: GetTaskResultRequestSer, sleep_time: int, url_response: str = GET_RESULT_POSTFIX

src/python3_anticaptcha/image_captcha.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
from .core.base import BaseCaptcha
55
from .core.enum import CaptchaTypeEnm, SaveFormatsEnm
66

7+
__all__ = ("ImageToTextCaptcha",)
8+
79

810
class ImageToTextCaptcha(BaseCaptcha):
911

src/python3_anticaptcha/turnstile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ def __init__(
134134
135135
Notes:
136136
https://anti-captcha.com/apidoc/task-types/TurnstileTask
137+
137138
https://anti-captcha.com/apidoc/task-types/TurnstileTaskProxyless
138139
"""
139140

0 commit comments

Comments
 (0)