capmonstercloudclient 3.0.0__py3-none-any.whl → 3.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- capmonstercloudclient/requests/ImpervaCustomTaskRequest.py +9 -9
- capmonstercloudclient/version.txt +1 -1
- {capmonstercloudclient-3.0.0.dist-info → capmonstercloudclient-3.1.0.dist-info}/METADATA +1 -1
- {capmonstercloudclient-3.0.0.dist-info → capmonstercloudclient-3.1.0.dist-info}/RECORD +7 -7
- {capmonstercloudclient-3.0.0.dist-info → capmonstercloudclient-3.1.0.dist-info}/WHEEL +1 -1
- {capmonstercloudclient-3.0.0.dist-info → capmonstercloudclient-3.1.0.dist-info}/licenses/LICENSE +0 -0
- {capmonstercloudclient-3.0.0.dist-info → capmonstercloudclient-3.1.0.dist-info}/top_level.txt +0 -0
@@ -9,17 +9,17 @@ class ImpervaCustomTaskRequest(CustomTaskRequestBase):
|
|
9
9
|
|
10
10
|
@validator('metadata')
|
11
11
|
def validate_metadata(cls, value):
|
12
|
-
if value.get('
|
13
|
-
raise TypeError(f'Expect that
|
12
|
+
if value.get('incapsulaScriptUrl') is None:
|
13
|
+
raise TypeError(f'Expect that incapsulaScriptUrl will be defined.')
|
14
14
|
else:
|
15
|
-
if not isinstance(value.get('
|
16
|
-
raise TypeError(f'Expect that
|
17
|
-
if value.get('
|
18
|
-
raise TypeError(f'Expect that
|
15
|
+
if not isinstance(value.get('incapsulaScriptUrl'), str):
|
16
|
+
raise TypeError(f'Expect that incapsulaScriptUrl will be str.')
|
17
|
+
if value.get('incapsulaCookie') is None:
|
18
|
+
raise TypeError(f'Expect that incapsulaCookie will be defined.')
|
19
19
|
else:
|
20
|
-
if not isinstance(value.get('
|
21
|
-
raise TypeError(f'Expect that
|
22
|
-
if value.get('reese84UrlEndpoint') is not None and not isinstance(value.get('
|
20
|
+
if not isinstance(value.get('incapsulaCookie'), str):
|
21
|
+
raise TypeError(f'Expect that incapsulaCookie will be str.')
|
22
|
+
if value.get('reese84UrlEndpoint') is not None and not isinstance(value.get('reese84UrlEndpoint'), str):
|
23
23
|
raise TypeError(f'Expect that reese84UrlEndpoint will be str.')
|
24
24
|
return value
|
25
25
|
|
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.1.0
|
@@ -6,7 +6,7 @@ capmonstercloudclient/clientOptions.py,sha256=kd2CXnmz2_crZd85SoOHOjp1zBklEbu9OW
|
|
6
6
|
capmonstercloudclient/exceptions.py,sha256=9iTzO0ymBo7eAJwv7qtoPZTmb4yaQ6Fvi69VqBXTcwk,925
|
7
7
|
capmonstercloudclient/requestController.py,sha256=9t31zNN4z1UBw4Q0N9ZIy47CwSQl2VaxD1eqDTDIr9w,497
|
8
8
|
capmonstercloudclient/utils.py,sha256=hP090ddzDCLknr5wGCR7sIALDbOtWbiSzgZPvPnDC3c,609
|
9
|
-
capmonstercloudclient/version.txt,sha256=
|
9
|
+
capmonstercloudclient/version.txt,sha256=hORQlST9mZYLrbrFUlSvzqMw16EOq9al8dy0X8OMP0A,5
|
10
10
|
capmonstercloudclient/requests/AmazonWafRequest.py,sha256=8SrbFTcZg3YI-Fac19Ap1iVT3n3mFBFKB38K1Y9QrWo,1195
|
11
11
|
capmonstercloudclient/requests/BasiliskCustomTaskRequest.py,sha256=GJ7OCsdF-xlnsV6kOI3fdb8C7CyLE7Kr5W4oK_nGn18,913
|
12
12
|
capmonstercloudclient/requests/BinanceTaskRequest.py,sha256=9kD9y_4hZYXKOj2AYoiv--Z0De0Y7JChF9X09snMbZs,1013
|
@@ -19,7 +19,7 @@ capmonstercloudclient/requests/GeetestRequest.py,sha256=ZHwlHLaL68xa6TJk9LYwtQOc
|
|
19
19
|
capmonstercloudclient/requests/HcaptchaComplexImageTask.py,sha256=HGVJefD2h9GX4ILyCYNrew64ZkpFGf0UG1hxXIrg7v0,5240
|
20
20
|
capmonstercloudclient/requests/HcaptchaRequest.py,sha256=sa0FRLf-H-9MWlFrowMNED19EfkI_xbkNC6CMsR_pwg,1502
|
21
21
|
capmonstercloudclient/requests/ImageToTextRequest.py,sha256=1F7Gzq0qTuxjbl9XfFbszQUHNG7W5PthuiJBAO_VEug,2481
|
22
|
-
capmonstercloudclient/requests/ImpervaCustomTaskRequest.py,sha256=
|
22
|
+
capmonstercloudclient/requests/ImpervaCustomTaskRequest.py,sha256=YUY_wC8yv16rZGK_VTCbqzj1rMxbUeJrxAE-7IT2AYY,1777
|
23
23
|
capmonstercloudclient/requests/RecaptchaComplexImageTask.py,sha256=v7cqgTF5L2ADYHoskveB8v2h6cW68Av60tH7ek3hWNg,3281
|
24
24
|
capmonstercloudclient/requests/RecaptchaV2EnterpiseRequest.py,sha256=TiIV0-SWLUT4mwK8ZzChL3FCZwaizzVsZhzZo0KRgfk,1121
|
25
25
|
capmonstercloudclient/requests/RecaptchaV2Request.py,sha256=wq9IFNehhcVZ-bDzu1Yfq1oD_4I4KbtwRdUwwNaQNm8,1219
|
@@ -32,8 +32,8 @@ capmonstercloudclient/requests/baseRequest.py,sha256=wHYDtEoJbAiJQDFOKWSezLvlxTL
|
|
32
32
|
capmonstercloudclient/requests/baseRequestWithProxy.py,sha256=RwF1FXH19T9IyR4bbj-fC73huAgKewtJMJy2IvWurpA,230
|
33
33
|
capmonstercloudclient/requests/enums.py,sha256=itJ95OEzwous9zOe4n411w5LeBw4yCpCCTMomlT3LU0,1000
|
34
34
|
capmonstercloudclient/requests/proxy_info.py,sha256=ctmxvykMflsym-snO449t9mOZ1jxpUFTnxcI8koACUw,678
|
35
|
-
capmonstercloudclient-3.
|
36
|
-
capmonstercloudclient-3.
|
37
|
-
capmonstercloudclient-3.
|
38
|
-
capmonstercloudclient-3.
|
39
|
-
capmonstercloudclient-3.
|
35
|
+
capmonstercloudclient-3.1.0.dist-info/licenses/LICENSE,sha256=VIIsA4331arqJBp_QqiY2cjVszTfuSt3I7uEUr4ouYw,1065
|
36
|
+
capmonstercloudclient-3.1.0.dist-info/METADATA,sha256=-YLk6fDhT21bMEWTPU6KzVl6phno9JZ1Ap3dUUXYBk4,5462
|
37
|
+
capmonstercloudclient-3.1.0.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
|
38
|
+
capmonstercloudclient-3.1.0.dist-info/top_level.txt,sha256=_rR6-Wb02PxobU8D33r_0OONJgybsros2e9H8opYGnA,22
|
39
|
+
capmonstercloudclient-3.1.0.dist-info/RECORD,,
|
{capmonstercloudclient-3.0.0.dist-info → capmonstercloudclient-3.1.0.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
{capmonstercloudclient-3.0.0.dist-info → capmonstercloudclient-3.1.0.dist-info}/top_level.txt
RENAMED
File without changes
|