parallel-web 0.2.1__py3-none-any.whl → 0.2.2__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.
Potentially problematic release.
This version of parallel-web might be problematic. Click here for more details.
- parallel/__init__.py +3 -1
- parallel/_base_client.py +9 -9
- parallel/_client.py +8 -8
- parallel/_models.py +10 -4
- parallel/_qs.py +7 -7
- parallel/_types.py +18 -11
- parallel/_utils/_transform.py +2 -2
- parallel/_utils/_utils.py +4 -4
- parallel/_version.py +1 -1
- parallel/lib/_parsing/_task_run_result.py +2 -3
- parallel/lib/_parsing/_task_spec.py +4 -4
- parallel/resources/beta/beta.py +15 -15
- parallel/resources/beta/task_group.py +53 -35
- parallel/resources/beta/task_run.py +41 -41
- parallel/resources/task_run.py +33 -33
- parallel/types/beta/beta_run_input.py +6 -6
- parallel/types/beta/beta_run_input_param.py +6 -6
- parallel/types/beta/search_result.py +1 -1
- parallel/types/beta/task_run_create_params.py +6 -6
- parallel/types/beta/task_run_events_response.py +6 -0
- {parallel_web-0.2.1.dist-info → parallel_web-0.2.2.dist-info}/METADATA +1 -1
- {parallel_web-0.2.1.dist-info → parallel_web-0.2.2.dist-info}/RECORD +24 -24
- {parallel_web-0.2.1.dist-info → parallel_web-0.2.2.dist-info}/WHEEL +0 -0
- {parallel_web-0.2.1.dist-info → parallel_web-0.2.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -25,16 +25,16 @@ class BetaRunInput(BaseModel):
|
|
|
25
25
|
[Task Run events](https://platform.parallel.ai/api-reference) endpoint. When
|
|
26
26
|
false, no progress events are tracked. Note that progress tracking cannot be
|
|
27
27
|
enabled after a run has been created. The flag is set to true by default for
|
|
28
|
-
premium processors (pro and above).
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
premium processors (pro and above). To enable this feature in your requests,
|
|
29
|
+
specify `events-sse-2025-07-24` as one of the values in `parallel-beta` header
|
|
30
|
+
(for API calls) or `betas` param (for the SDKs).
|
|
31
31
|
"""
|
|
32
32
|
|
|
33
33
|
mcp_servers: Optional[List[McpServer]] = None
|
|
34
34
|
"""
|
|
35
|
-
Optional list of MCP servers to use for the run.
|
|
36
|
-
|
|
37
|
-
`parallel-beta` header
|
|
35
|
+
Optional list of MCP servers to use for the run. To enable this feature in your
|
|
36
|
+
requests, specify `mcp-server-2025-07-17` as one of the values in
|
|
37
|
+
`parallel-beta` header (for API calls) or `betas` param (for the SDKs).
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
40
|
metadata: Optional[Dict[str, Union[str, float, bool]]] = None
|
|
@@ -27,16 +27,16 @@ class BetaRunInputParam(TypedDict, total=False):
|
|
|
27
27
|
[Task Run events](https://platform.parallel.ai/api-reference) endpoint. When
|
|
28
28
|
false, no progress events are tracked. Note that progress tracking cannot be
|
|
29
29
|
enabled after a run has been created. The flag is set to true by default for
|
|
30
|
-
premium processors (pro and above).
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
premium processors (pro and above). To enable this feature in your requests,
|
|
31
|
+
specify `events-sse-2025-07-24` as one of the values in `parallel-beta` header
|
|
32
|
+
(for API calls) or `betas` param (for the SDKs).
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
35
|
mcp_servers: Optional[Iterable[McpServerParam]]
|
|
36
36
|
"""
|
|
37
|
-
Optional list of MCP servers to use for the run.
|
|
38
|
-
|
|
39
|
-
`parallel-beta` header
|
|
37
|
+
Optional list of MCP servers to use for the run. To enable this feature in your
|
|
38
|
+
requests, specify `mcp-server-2025-07-17` as one of the values in
|
|
39
|
+
`parallel-beta` header (for API calls) or `betas` param (for the SDKs).
|
|
40
40
|
"""
|
|
41
41
|
|
|
42
42
|
metadata: Optional[Dict[str, Union[str, float, bool]]]
|
|
@@ -13,4 +13,4 @@ class SearchResult(BaseModel):
|
|
|
13
13
|
"""A list of WebSearchResult objects, ordered by decreasing relevance."""
|
|
14
14
|
|
|
15
15
|
search_id: str
|
|
16
|
-
"""Search ID. Example: `
|
|
16
|
+
"""Search ID. Example: `search_cad0a6d2dec046bd95ae900527d880e7`"""
|
|
@@ -29,16 +29,16 @@ class TaskRunCreateParams(TypedDict, total=False):
|
|
|
29
29
|
[Task Run events](https://platform.parallel.ai/api-reference) endpoint. When
|
|
30
30
|
false, no progress events are tracked. Note that progress tracking cannot be
|
|
31
31
|
enabled after a run has been created. The flag is set to true by default for
|
|
32
|
-
premium processors (pro and above).
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
premium processors (pro and above). To enable this feature in your requests,
|
|
33
|
+
specify `events-sse-2025-07-24` as one of the values in `parallel-beta` header
|
|
34
|
+
(for API calls) or `betas` param (for the SDKs).
|
|
35
35
|
"""
|
|
36
36
|
|
|
37
37
|
mcp_servers: Optional[Iterable[McpServerParam]]
|
|
38
38
|
"""
|
|
39
|
-
Optional list of MCP servers to use for the run.
|
|
40
|
-
|
|
41
|
-
`parallel-beta` header
|
|
39
|
+
Optional list of MCP servers to use for the run. To enable this feature in your
|
|
40
|
+
requests, specify `mcp-server-2025-07-17` as one of the values in
|
|
41
|
+
`parallel-beta` header (for API calls) or `betas` param (for the SDKs).
|
|
42
42
|
"""
|
|
43
43
|
|
|
44
44
|
metadata: Optional[Dict[str, Union[str, float, bool]]]
|
|
@@ -28,6 +28,12 @@ class TaskRunProgressStatsEventSourceStats(BaseModel):
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class TaskRunProgressStatsEvent(BaseModel):
|
|
31
|
+
progress_meter: float
|
|
32
|
+
"""Completion percentage of the task run.
|
|
33
|
+
|
|
34
|
+
Ranges from 0 to 100 where 0 indicates no progress and 100 indicates completion.
|
|
35
|
+
"""
|
|
36
|
+
|
|
31
37
|
source_stats: TaskRunProgressStatsEventSourceStats
|
|
32
38
|
"""Source stats for a task run."""
|
|
33
39
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: parallel-web
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: The official Python library for the Parallel API
|
|
5
5
|
Project-URL: Homepage, https://github.com/parallel-web/parallel-sdk-python
|
|
6
6
|
Project-URL: Repository, https://github.com/parallel-web/parallel-sdk-python
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
parallel/__init__.py,sha256=
|
|
2
|
-
parallel/_base_client.py,sha256=
|
|
3
|
-
parallel/_client.py,sha256=
|
|
1
|
+
parallel/__init__.py,sha256=npHQAuS58XReOSdapOSD3vL4CbEUFSEmCQyj3WpNLC4,2683
|
|
2
|
+
parallel/_base_client.py,sha256=1xADREyaP0iIAO4ZmBzcuim6iOQ0bGerqKKSUgzHryk,67049
|
|
3
|
+
parallel/_client.py,sha256=K6UKnqGuBNYXhkUzYVADzVGnohZSeoprohCZJWwJZeU,15482
|
|
4
4
|
parallel/_compat.py,sha256=k2XpUhYfgp5ZXkZkQAftJHt_UWFjUct1Sm2ye2kPBXo,6964
|
|
5
5
|
parallel/_constants.py,sha256=B00HbROOxQXqSFOIFQjSmdePfscyYNuXyY__j2qBljg,681
|
|
6
6
|
parallel/_exceptions.py,sha256=lP7_D_HALN-Nt5bfw4AefEB7tYkrQ8ZcjCRdxm_HrsQ,3224
|
|
7
7
|
parallel/_files.py,sha256=KnEzGi_O756MvKyJ4fOCW_u3JhOeWPQ4RsmDvqihDQU,3545
|
|
8
|
-
parallel/_models.py,sha256=
|
|
9
|
-
parallel/_qs.py,sha256=
|
|
8
|
+
parallel/_models.py,sha256=lKnskYPONAWDvWo8tmbbVk7HmG7UOsI0Nve0vSMmkRc,30452
|
|
9
|
+
parallel/_qs.py,sha256=craIKyvPktJ94cvf9zn8j8ekG9dWJzhWv0ob34lIOv4,4828
|
|
10
10
|
parallel/_resource.py,sha256=QvY8l_r03hNBsFTTn3g7Pkx8OrDwIwROHaSEViWcYLA,1112
|
|
11
11
|
parallel/_response.py,sha256=zJKnQ9YzrMZCTPWis4CdyGCAH0kzT4m1OHE74jiF0jA,28800
|
|
12
12
|
parallel/_streaming.py,sha256=vH45vK3-83ruFalbvSgpE70zfwy8fjW9UwrO1TwjIfE,10108
|
|
13
|
-
parallel/_types.py,sha256=
|
|
14
|
-
parallel/_version.py,sha256=
|
|
13
|
+
parallel/_types.py,sha256=ohdaBqcsvcZ14iBOJ8Tuv752Fzq-0lFSwCfTSgI-aIw,7238
|
|
14
|
+
parallel/_version.py,sha256=Mycqn13L_57j4Hh4o0u0vPiWqaBnmG53qQg_cR_DGfQ,160
|
|
15
15
|
parallel/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
parallel/_utils/__init__.py,sha256=hQbbbshrJaj0DuLIvbvdLvCujBMzJ827P_CXVR1VosY,2327
|
|
17
17
|
parallel/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
|
|
@@ -22,22 +22,22 @@ parallel/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEM
|
|
|
22
22
|
parallel/_utils/_resources_proxy.py,sha256=xx_chZr_cBmnGMejQaqdjjzS6gjyOBjVARwb2lM7qm4,599
|
|
23
23
|
parallel/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
|
|
24
24
|
parallel/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
|
|
25
|
-
parallel/_utils/_transform.py,sha256=
|
|
25
|
+
parallel/_utils/_transform.py,sha256=NjCzmnfqYrsAikUHQig6N9QfuTVbKipuP3ur9mcNF-E,15951
|
|
26
26
|
parallel/_utils/_typing.py,sha256=N_5PPuFNsaygbtA_npZd98SVN1LQQvFTKL6bkWPBZGU,4786
|
|
27
|
-
parallel/_utils/_utils.py,sha256=
|
|
27
|
+
parallel/_utils/_utils.py,sha256=Uh1MzsLVdxjBt6r_oApm3PzM_nF1E8-pfJtwRvHSeqg,12330
|
|
28
28
|
parallel/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
29
29
|
parallel/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
30
|
parallel/lib/_pydantic.py,sha256=-JeB1faJsEAW5z4X6fE7yxPtbS4au3o85WqsZGpJRCI,1111
|
|
31
31
|
parallel/lib/_time.py,sha256=54M_YhwW8WUa2KEUjYNdt3GkyQC9s_3u36-IH5hZr2U,2558
|
|
32
32
|
parallel/lib/_parsing/__init__.py,sha256=aEM9F2sU4s-CFpQgjydjfCAdxpusJ81jXI6KCoB8VPs,150
|
|
33
|
-
parallel/lib/_parsing/_task_run_result.py,sha256=
|
|
34
|
-
parallel/lib/_parsing/_task_spec.py,sha256
|
|
33
|
+
parallel/lib/_parsing/_task_run_result.py,sha256=o5srgWAF8X0mBFqdGjuzYFHhYE29zBOPklzXHPgd9kw,3536
|
|
34
|
+
parallel/lib/_parsing/_task_spec.py,sha256=-yiyR88IqZJwuGtLwlLFikrB-w8pLc0wAysp4Oskgpg,3041
|
|
35
35
|
parallel/resources/__init__.py,sha256=PAnsvK_p1MHcu1XIBtyktNzkS60ata-K4YFXcVZ43ps,990
|
|
36
|
-
parallel/resources/task_run.py,sha256=
|
|
36
|
+
parallel/resources/task_run.py,sha256=K600WuHJ5AesKtb3EG17FOi49GEDGzlHRuwBm2sL7Bs,26504
|
|
37
37
|
parallel/resources/beta/__init__.py,sha256=7vguQhQFwL7SfwgJKziGU_cmz6qyh7IRucNpw6-GTz8,1480
|
|
38
|
-
parallel/resources/beta/beta.py,sha256=
|
|
39
|
-
parallel/resources/beta/task_group.py,sha256=
|
|
40
|
-
parallel/resources/beta/task_run.py,sha256=
|
|
38
|
+
parallel/resources/beta/beta.py,sha256=eVLsAJS5lcijmslskFHmlC8g_Qo13smnz83HxcCY24I,11416
|
|
39
|
+
parallel/resources/beta/task_group.py,sha256=YekGyy06oAS2KkrOLcQXkN4GRMNdBwL8qMFN1Eh5VLA,26404
|
|
40
|
+
parallel/resources/beta/task_run.py,sha256=UHw1HReVKGcsMqYprcFarNMZdMvXFDRJoUKyDvoMypo,20726
|
|
41
41
|
parallel/types/__init__.py,sha256=VmaNWhKOnMNn-p9RvktHNEB9nKL_w3QSoQQx1z_ORIc,1302
|
|
42
42
|
parallel/types/auto_schema.py,sha256=MfDx65XR1pKL3C-hHZRIe1DNlVhot5_eeZ8xvbdBq6w,345
|
|
43
43
|
parallel/types/auto_schema_param.py,sha256=ADcBZ5Hfl0GKcWIoxy9gOfjBP76mbbSwGrf8JcGN2FY,337
|
|
@@ -57,8 +57,8 @@ parallel/types/task_spec_param.py,sha256=fmz30Re2VvtDp_O14o3jQZtI_Yl7l1mzObi_AK-
|
|
|
57
57
|
parallel/types/text_schema.py,sha256=QLOILH4KqVTVpFkilnFQxjUHWSd2F4glbeJC0GMEseU,450
|
|
58
58
|
parallel/types/text_schema_param.py,sha256=N1YQnxEbgjMZJF-3SPZdTDouDmN06aektgC6NfP9BPk,463
|
|
59
59
|
parallel/types/beta/__init__.py,sha256=psqtlm2da6gis8fvQvnMUHLixZ0E6m0CHJFibHVEE_Y,1928
|
|
60
|
-
parallel/types/beta/beta_run_input.py,sha256
|
|
61
|
-
parallel/types/beta/beta_run_input_param.py,sha256=
|
|
60
|
+
parallel/types/beta/beta_run_input.py,sha256=-Bq2ksQiuRsEGrMvbIyNza-6qKEeu3fhZfo7Uam6pi8,2281
|
|
61
|
+
parallel/types/beta/beta_run_input_param.py,sha256=6vyv9FHUJ8q_hp6Icghzm2smP2kl-YkVSpF97r9m7ec,2398
|
|
62
62
|
parallel/types/beta/beta_search_params.py,sha256=A9yqsI9tOXGXWGn8apy0pwGjs0lnyKw4lMYzSeGEcSU,1414
|
|
63
63
|
parallel/types/beta/beta_task_run_result.py,sha256=F-I86i3O2B_6pxT8YxnfPg0yRvHqAGEbwWrDZk9BjDY,2007
|
|
64
64
|
parallel/types/beta/error_event.py,sha256=qtBTtkqWp6mhvHJPw-Z7qkENaH8XZOZUzHOqivRKZ5A,379
|
|
@@ -66,7 +66,7 @@ parallel/types/beta/mcp_server.py,sha256=BHmXfmV0odaB8xveYHMTbAEE_SVff9l-ObQxxjs
|
|
|
66
66
|
parallel/types/beta/mcp_server_param.py,sha256=x7LAisuTkYT034yVGNmz73I0SUQPyLHjXodsAZfR0v8,713
|
|
67
67
|
parallel/types/beta/mcp_tool_call.py,sha256=yx8Er1bfGahyxfZhhkrHFO5ymdjl2qf4zDnCjg2P4y0,632
|
|
68
68
|
parallel/types/beta/parallel_beta_param.py,sha256=e2hxSW8kbXkl8MXQH1TCFKtnMFC2ZO1jWlcFSBU1dg4,360
|
|
69
|
-
parallel/types/beta/search_result.py,sha256=
|
|
69
|
+
parallel/types/beta/search_result.py,sha256=FgfegVL7p-MewKN83TMYGnKcOJvEq417pn8cTxPQpTU,458
|
|
70
70
|
parallel/types/beta/task_group.py,sha256=v1S6MKseDJyStedB50_CH4F6NFlACCMo1IwoAosFCYo,686
|
|
71
71
|
parallel/types/beta/task_group_add_runs_params.py,sha256=-jMw4z4VwOodWLzffDMa-uhUA-_se8hLFhDB8Ubg3_4,1078
|
|
72
72
|
parallel/types/beta/task_group_create_params.py,sha256=-Ck_4BerPbzT9fCqqGW9_jwLcFEXqNyFsXpK6A6nbfg,416
|
|
@@ -76,9 +76,9 @@ parallel/types/beta/task_group_get_runs_params.py,sha256=CIE8Y9p18iJ323-7A_GsIO3
|
|
|
76
76
|
parallel/types/beta/task_group_get_runs_response.py,sha256=XXuJnJbFTvz-sOG1qBvWSPDFI47a6dUG0Dl1tYnC008,434
|
|
77
77
|
parallel/types/beta/task_group_run_response.py,sha256=dXfUIOAYSc0ViaPlHQngnq3fM3Gpad21YuM6W2_iWbs,796
|
|
78
78
|
parallel/types/beta/task_group_status.py,sha256=neWHpNHyn-7C4Unbc90EocE828-zcIqMzwwe2Qw6NZ0,759
|
|
79
|
-
parallel/types/beta/task_run_create_params.py,sha256=
|
|
79
|
+
parallel/types/beta/task_run_create_params.py,sha256=tFJLef8fnRtVxri187eHBHxVffGBuqB7xcZmc0EhA2Y,2657
|
|
80
80
|
parallel/types/beta/task_run_event.py,sha256=CdEqyQeCeYp5G96mW2FZpiHXDjy2brYbXr68vKq4rzM,1091
|
|
81
|
-
parallel/types/beta/task_run_events_response.py,sha256=
|
|
81
|
+
parallel/types/beta/task_run_events_response.py,sha256=dpNwuab58BRoRk-Vsg0vMDXsLImw0ujJ7byPHAPKRe0,1943
|
|
82
82
|
parallel/types/beta/task_run_result_params.py,sha256=753OkHz3Hbkfd3w8hBCh2BpM5ZH0-0cz4y80oRoEzxo,588
|
|
83
83
|
parallel/types/beta/web_search_result.py,sha256=ijhYOaQ2jq912FGKXFRxxwEvvi8enqt3zGodS1zU7o0,435
|
|
84
84
|
parallel/types/beta/webhook.py,sha256=jFOnQFTIJkFalqBW3BUmF6TTQKPX_aRVsYUOPnKcl5Q,417
|
|
@@ -90,7 +90,7 @@ parallel/types/shared/source_policy.py,sha256=0E_avIRbTe_frkfVpaiuwACdp3LQ2EviAq
|
|
|
90
90
|
parallel/types/shared/warning.py,sha256=QeJ5lJ-ZwkjbVmcc1wusx67O2amMXtm8Y9KxFM0USp0,594
|
|
91
91
|
parallel/types/shared_params/__init__.py,sha256=nleCwf-4RjZtFXe7BaN5aFrrFnUmqZMMs9oeDajqn3g,143
|
|
92
92
|
parallel/types/shared_params/source_policy.py,sha256=sz9YMyjgK5meQ-GZakajIrR1UrLKA7qOHmhGdq393h0,606
|
|
93
|
-
parallel_web-0.2.
|
|
94
|
-
parallel_web-0.2.
|
|
95
|
-
parallel_web-0.2.
|
|
96
|
-
parallel_web-0.2.
|
|
93
|
+
parallel_web-0.2.2.dist-info/METADATA,sha256=OhFN4apJ-amwQBHOrToJNMpYMdJeGI8VgdrxgC8aajs,16173
|
|
94
|
+
parallel_web-0.2.2.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
95
|
+
parallel_web-0.2.2.dist-info/licenses/LICENSE,sha256=1rFsV0HhxaZBP55JM8Cu2w0Bw-uxTFtyTja_DE94oEM,1048
|
|
96
|
+
parallel_web-0.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|