parallel-web 1.3.7__tar.gz → 1.4.0__tar.gz

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.
Files changed (216) hide show
  1. parallel_web-1.4.0/.release-please-manifest.json +3 -0
  2. {parallel_web-1.3.7 → parallel_web-1.4.0}/CHANGELOG.md +19 -0
  3. {parallel_web-1.3.7 → parallel_web-1.4.0}/PKG-INFO +1 -1
  4. {parallel_web-1.3.7 → parallel_web-1.4.0}/api.md +2 -0
  5. parallel_web-1.4.0/examples/responses.py +23 -0
  6. {parallel_web-1.3.7 → parallel_web-1.4.0}/pyproject.toml +1 -1
  7. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_client.py +86 -1
  8. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_version.py +1 -1
  9. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/lib/_parsing/_task_run_result.py +29 -7
  10. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/lib/_time.py +14 -28
  11. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/resources/monitor.py +20 -14
  12. parallel_web-1.4.0/src/parallel/resources/responses/__init__.py +19 -0
  13. parallel_web-1.4.0/src/parallel/resources/responses/api.md +11 -0
  14. parallel_web-1.4.0/src/parallel/resources/responses/responses.py +774 -0
  15. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/resources/task_run.py +10 -6
  16. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/__init__.py +1 -0
  17. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/advanced_extract_settings_param.py +7 -0
  18. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/advanced_monitor_settings.py +5 -3
  19. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/advanced_monitor_settings_param.py +5 -3
  20. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/advanced_search_settings_param.py +5 -3
  21. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/extract_result.py +14 -1
  22. parallel_web-1.4.0/src/parallel/types/fetch_policy.py +36 -0
  23. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/fetch_policy_param.py +14 -2
  24. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor.py +5 -3
  25. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_create_params.py +5 -3
  26. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_update_params.py +5 -3
  27. parallel_web-1.4.0/src/parallel/types/responses/__init__.py +7 -0
  28. parallel_web-1.4.0/src/parallel/types/responses/response_create_params.py +371 -0
  29. parallel_web-1.4.0/src/parallel/types/responses/response_result.py +950 -0
  30. parallel_web-1.4.0/src/parallel/types/responses/response_stream_event.py +1717 -0
  31. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/run_input.py +5 -3
  32. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/run_input_param.py +5 -3
  33. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/shared/source_policy.py +14 -12
  34. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/shared_params/source_policy.py +14 -12
  35. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_advanced_settings.py +11 -0
  36. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_advanced_settings_param.py +11 -0
  37. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_run_create_params.py +5 -3
  38. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/web_search_result.py +1 -1
  39. parallel_web-1.4.0/tests/api_resources/responses/__init__.py +1 -0
  40. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/api_resources/test_client.py +7 -1
  41. parallel_web-1.4.0/tests/api_resources/test_responses.py +324 -0
  42. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/api_resources/test_task_group.py +15 -1
  43. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/api_resources/test_task_run.py +15 -1
  44. parallel_web-1.4.0/tests/lib/__init__.py +0 -0
  45. parallel_web-1.4.0/tests/lib/test_execute.py +58 -0
  46. parallel_web-1.3.7/.release-please-manifest.json +0 -3
  47. {parallel_web-1.3.7 → parallel_web-1.4.0}/.gitignore +0 -0
  48. {parallel_web-1.3.7 → parallel_web-1.4.0}/CONTRIBUTING.md +0 -0
  49. {parallel_web-1.3.7 → parallel_web-1.4.0}/LICENSE +0 -0
  50. {parallel_web-1.3.7 → parallel_web-1.4.0}/README.md +0 -0
  51. {parallel_web-1.3.7 → parallel_web-1.4.0}/SECURITY.md +0 -0
  52. {parallel_web-1.3.7 → parallel_web-1.4.0}/bin/check-release-environment +0 -0
  53. {parallel_web-1.3.7 → parallel_web-1.4.0}/bin/publish-pypi +0 -0
  54. {parallel_web-1.3.7 → parallel_web-1.4.0}/examples/.keep +0 -0
  55. {parallel_web-1.3.7 → parallel_web-1.4.0}/noxfile.py +0 -0
  56. {parallel_web-1.3.7 → parallel_web-1.4.0}/release-please-config.json +0 -0
  57. {parallel_web-1.3.7 → parallel_web-1.4.0}/requirements-dev.lock +0 -0
  58. {parallel_web-1.3.7 → parallel_web-1.4.0}/requirements.lock +0 -0
  59. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/__init__.py +0 -0
  60. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_base_client.py +0 -0
  61. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_compat.py +0 -0
  62. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_constants.py +0 -0
  63. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_exceptions.py +0 -0
  64. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_files.py +0 -0
  65. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_models.py +0 -0
  66. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_qs.py +0 -0
  67. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_resource.py +0 -0
  68. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_response.py +0 -0
  69. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_streaming.py +0 -0
  70. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_types.py +0 -0
  71. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_utils/__init__.py +0 -0
  72. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_utils/_compat.py +0 -0
  73. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_utils/_datetime_parse.py +0 -0
  74. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_utils/_json.py +0 -0
  75. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_utils/_logs.py +0 -0
  76. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_utils/_path.py +0 -0
  77. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_utils/_proxy.py +0 -0
  78. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_utils/_reflection.py +0 -0
  79. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_utils/_resources_proxy.py +0 -0
  80. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_utils/_streams.py +0 -0
  81. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_utils/_sync.py +0 -0
  82. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_utils/_transform.py +0 -0
  83. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_utils/_typing.py +0 -0
  84. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/_utils/_utils.py +0 -0
  85. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/lib/.keep +0 -0
  86. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/lib/__init__.py +0 -0
  87. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/lib/_parsing/__init__.py +0 -0
  88. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/lib/_parsing/_task_spec.py +0 -0
  89. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/lib/_pydantic.py +0 -0
  90. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/py.typed +0 -0
  91. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/resources/__init__.py +0 -0
  92. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/resources/beta/__init__.py +0 -0
  93. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/resources/beta/api.md +0 -0
  94. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/resources/beta/beta.py +0 -0
  95. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/resources/beta/findall.py +0 -0
  96. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/resources/beta/memory.py +0 -0
  97. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/resources/task_group.py +0 -0
  98. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/auto_schema.py +0 -0
  99. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/auto_schema_param.py +0 -0
  100. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/__init__.py +0 -0
  101. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_candidate.py +0 -0
  102. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_candidate_match_status_event.py +0 -0
  103. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_candidate_metrics.py +0 -0
  104. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_create_params.py +0 -0
  105. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_enrich_input.py +0 -0
  106. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_enrich_params.py +0 -0
  107. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_entity_search_params.py +0 -0
  108. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_entity_search_response.py +0 -0
  109. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_events_params.py +0 -0
  110. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_events_response.py +0 -0
  111. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_extend_params.py +0 -0
  112. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_ingest_params.py +0 -0
  113. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_memory_result.py +0 -0
  114. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_run.py +0 -0
  115. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_run_result.py +0 -0
  116. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_run_status.py +0 -0
  117. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_run_status_event.py +0 -0
  118. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_schema.py +0 -0
  119. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/findall_schema_updated_event.py +0 -0
  120. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/match_condition.py +0 -0
  121. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/match_condition_param.py +0 -0
  122. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/memory_clear_params.py +0 -0
  123. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/memory_evict_params.py +0 -0
  124. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/memory_retrieve_params.py +0 -0
  125. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/memory_retrieve_response.py +0 -0
  126. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/monitor_memory_event.py +0 -0
  127. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/monitor_memory_result.py +0 -0
  128. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/parallel_beta_param.py +0 -0
  129. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/beta/task_memory_result.py +0 -0
  130. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/citation.py +0 -0
  131. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/client_extract_params.py +0 -0
  132. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/client_search_params.py +0 -0
  133. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/error_event.py +0 -0
  134. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/excerpt_settings_param.py +0 -0
  135. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/extract_error.py +0 -0
  136. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/extract_response.py +0 -0
  137. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/field_basis.py +0 -0
  138. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/full_content_settings_param.py +0 -0
  139. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/json_schema.py +0 -0
  140. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/json_schema_param.py +0 -0
  141. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/mcp_server.py +0 -0
  142. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/mcp_server_param.py +0 -0
  143. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/mcp_tool_call.py +0 -0
  144. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_completion_event.py +0 -0
  145. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_error_event.py +0 -0
  146. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_event_stream_event.py +0 -0
  147. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_event_stream_response_settings.py +0 -0
  148. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_event_stream_settings_param.py +0 -0
  149. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_events_params.py +0 -0
  150. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_list_params.py +0 -0
  151. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_snapshot_event.py +0 -0
  152. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_snapshot_output.py +0 -0
  153. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_snapshot_response_settings.py +0 -0
  154. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_snapshot_settings_param.py +0 -0
  155. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_webhook.py +0 -0
  156. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/monitor_webhook_param.py +0 -0
  157. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/paginated_monitor_events.py +0 -0
  158. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/paginated_monitor_response.py +0 -0
  159. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/parsed_task_run_result.py +0 -0
  160. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/search_result.py +0 -0
  161. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/shared/__init__.py +0 -0
  162. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/shared/error_object.py +0 -0
  163. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/shared/error_response.py +0 -0
  164. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/shared/warning.py +0 -0
  165. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/shared_params/__init__.py +0 -0
  166. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_group.py +0 -0
  167. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_group_add_runs_params.py +0 -0
  168. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_group_create_params.py +0 -0
  169. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_group_events_params.py +0 -0
  170. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_group_events_response.py +0 -0
  171. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_group_get_runs_params.py +0 -0
  172. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_group_get_runs_response.py +0 -0
  173. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_group_run_response.py +0 -0
  174. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_group_status.py +0 -0
  175. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_group_status_event.py +0 -0
  176. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_run.py +0 -0
  177. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_run_event.py +0 -0
  178. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_run_events_response.py +0 -0
  179. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_run_json_output.py +0 -0
  180. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_run_progress_message_event.py +0 -0
  181. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_run_progress_stats_event.py +0 -0
  182. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_run_result.py +0 -0
  183. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_run_result_params.py +0 -0
  184. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_run_source_stats.py +0 -0
  185. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_run_text_output.py +0 -0
  186. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_spec.py +0 -0
  187. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/task_spec_param.py +0 -0
  188. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/text_schema.py +0 -0
  189. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/text_schema_param.py +0 -0
  190. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/update_monitor_event_stream_settings_param.py +0 -0
  191. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/usage_item.py +0 -0
  192. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/webhook.py +0 -0
  193. {parallel_web-1.3.7 → parallel_web-1.4.0}/src/parallel/types/webhook_param.py +0 -0
  194. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/__init__.py +0 -0
  195. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/api_resources/__init__.py +0 -0
  196. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/api_resources/beta/__init__.py +0 -0
  197. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/api_resources/beta/test_findall.py +0 -0
  198. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/api_resources/beta/test_memory.py +0 -0
  199. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/api_resources/test_monitor.py +0 -0
  200. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/conftest.py +0 -0
  201. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/sample_file.txt +0 -0
  202. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/test_client.py +0 -0
  203. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/test_extract_files.py +0 -0
  204. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/test_files.py +0 -0
  205. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/test_models.py +0 -0
  206. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/test_qs.py +0 -0
  207. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/test_required_args.py +0 -0
  208. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/test_response.py +0 -0
  209. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/test_streaming.py +0 -0
  210. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/test_transform.py +0 -0
  211. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/test_utils/test_datetime_parse.py +0 -0
  212. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/test_utils/test_json.py +0 -0
  213. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/test_utils/test_path.py +0 -0
  214. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/test_utils/test_proxy.py +0 -0
  215. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/test_utils/test_typing.py +0 -0
  216. {parallel_web-1.3.7 → parallel_web-1.4.0}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "1.4.0"
3
+ }
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.4.0](https://github.com/parallel-web/parallel-sdk-python/compare/v1.3.7...v1.4.0) (2026-11-24)
4
+
5
+
6
+ ### Features
7
+
8
+ * add Responses API ([1945244](https://github.com/parallel-web/parallel-sdk-python/commit/1945244bf93b52aca8658cf01bfa468658e1e382))
9
+ * add Responses API ([cf5d963](https://github.com/parallel-web/parallel-sdk-python/commit/cf5d96386b2748da2b802dc4e8f19d5d914447d6))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **task_run:** retry execute's result wait when it ends unfinished ([d1a3ed3](https://github.com/parallel-web/parallel-sdk-python/commit/d1a3ed3c19304d36df6836138fff66b54867f2e7))
15
+ * **task_run:** retry execute's result wait when it ends unfinished ([08e8a6f](https://github.com/parallel-web/parallel-sdk-python/commit/08e8a6ff0692c9c10551e38f140f7faeb5b2b2cd))
16
+
17
+
18
+ ### Chores
19
+
20
+ * sync sdk-openapi.json from shapleyai/code@5cffe4fecf ([1b566f6](https://github.com/parallel-web/parallel-sdk-python/commit/1b566f6d6747d86ab97783345ba52195e92e2ed5))
21
+
3
22
  ## [1.3.7](https://github.com/parallel-web/parallel-sdk-python/compare/v1.3.6...v1.3.7) (2026-10-23)
4
23
 
5
24
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: parallel-web
3
- Version: 1.3.7
3
+ Version: 1.4.0
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
@@ -29,6 +29,8 @@ Methods:
29
29
  - <code title="post /v1/extract">client.<a href="./src/parallel/_client.py">extract</a>(\*\*<a href="src/parallel/types/client_extract_params.py">params</a>) -> <a href="./src/parallel/types/extract_response.py">ExtractResponse</a></code>
30
30
  - <code title="post /v1/search">client.<a href="./src/parallel/_client.py">search</a>(\*\*<a href="src/parallel/types/client_search_params.py">params</a>) -> <a href="./src/parallel/types/search_result.py">SearchResult</a></code>
31
31
 
32
+ # [Responses](src/parallel/resources/responses/api.md)
33
+
32
34
  # TaskRun
33
35
 
34
36
  Types:
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env -S rye run python
2
+
3
+ from parallel import Parallel
4
+
5
+
6
+ def main() -> None:
7
+ prompt = "What is the capital of France? Answer in one sentence."
8
+ with Parallel() as client:
9
+ response = client.responses.create(model="parallel", input=prompt)
10
+ for item in response.output:
11
+ if item.type == "message":
12
+ for part in item.content:
13
+ print(part.text)
14
+
15
+ with client.responses.create(model="parallel", input=prompt, stream=True) as stream:
16
+ for event in stream:
17
+ if event.type == "response.output_text.delta":
18
+ print(event.delta, end="", flush=True)
19
+ print()
20
+
21
+
22
+ if __name__ == "__main__":
23
+ main()
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "parallel-web"
3
- version = "1.3.7"
3
+ version = "1.4.0"
4
4
  description = "The official Python library for the Parallel API"
5
5
  dynamic = ["readme"]
6
6
  license = "MIT"
@@ -54,11 +54,12 @@ from .types.advanced_search_settings_param import AdvancedSearchSettingsParam
54
54
  from .types.advanced_extract_settings_param import AdvancedExtractSettingsParam
55
55
 
56
56
  if TYPE_CHECKING:
57
- from .resources import beta, monitor, task_run, task_group
57
+ from .resources import beta, monitor, task_run, responses, task_group
58
58
  from .resources.monitor import MonitorResource, AsyncMonitorResource
59
59
  from .resources.task_run import TaskRunResource, AsyncTaskRunResource
60
60
  from .resources.beta.beta import BetaResource, AsyncBetaResource
61
61
  from .resources.task_group import TaskGroupResource, AsyncTaskGroupResource
62
+ from .resources.responses.responses import ResponsesResource, AsyncResponsesResource
62
63
 
63
64
  __all__ = [
64
65
  "Timeout",
@@ -136,6 +137,20 @@ class Parallel(SyncAPIClient):
136
137
  _strict_response_validation=_strict_response_validation,
137
138
  )
138
139
 
140
+ @cached_property
141
+ def responses(self) -> ResponsesResource:
142
+ """
143
+ An OpenAI-Responses-compatible interface for answers grounded in live web research, with URL citations. Point any Responses-API client — the OpenAI Python SDK, OpenAI TypeScript SDK, the Agents SDK, or raw HTTP — at `https://api.parallel.ai` with your Parallel API key, set `model` to `parallel`, and call `/v1/responses`.
144
+ - `input` accepts a plain string or an array of role/content messages (canonical OpenAI shape; text content only).
145
+ - `reasoning.effort` (`low`/`medium`/`high`/`auto`) controls how much research is performed, trading response time for answer quality.
146
+ - Multi-turn via `previous_response_id`.
147
+ - Structured outputs via `text.format = {"type": "json_schema", "name": ..., "schema": {...}}`.
148
+ - Streaming (`stream=true`) emits the standard OpenAI Responses SSE lifecycle: `response.created` and `response.in_progress`, then output item / content part / text delta events with URL-citation annotations, the matching `*.done` events, and a terminal `response.completed` — or `response.failed` if the request fails mid-stream.
149
+ """
150
+ from .resources.responses import ResponsesResource
151
+
152
+ return ResponsesResource(self)
153
+
139
154
  @cached_property
140
155
  def task_run(self) -> TaskRunResource:
141
156
  """The Task API executes web research and extraction tasks.
@@ -520,6 +535,20 @@ class AsyncParallel(AsyncAPIClient):
520
535
  _strict_response_validation=_strict_response_validation,
521
536
  )
522
537
 
538
+ @cached_property
539
+ def responses(self) -> AsyncResponsesResource:
540
+ """
541
+ An OpenAI-Responses-compatible interface for answers grounded in live web research, with URL citations. Point any Responses-API client — the OpenAI Python SDK, OpenAI TypeScript SDK, the Agents SDK, or raw HTTP — at `https://api.parallel.ai` with your Parallel API key, set `model` to `parallel`, and call `/v1/responses`.
542
+ - `input` accepts a plain string or an array of role/content messages (canonical OpenAI shape; text content only).
543
+ - `reasoning.effort` (`low`/`medium`/`high`/`auto`) controls how much research is performed, trading response time for answer quality.
544
+ - Multi-turn via `previous_response_id`.
545
+ - Structured outputs via `text.format = {"type": "json_schema", "name": ..., "schema": {...}}`.
546
+ - Streaming (`stream=true`) emits the standard OpenAI Responses SSE lifecycle: `response.created` and `response.in_progress`, then output item / content part / text delta events with URL-citation annotations, the matching `*.done` events, and a terminal `response.completed` — or `response.failed` if the request fails mid-stream.
547
+ """
548
+ from .resources.responses import AsyncResponsesResource
549
+
550
+ return AsyncResponsesResource(self)
551
+
523
552
  @cached_property
524
553
  def task_run(self) -> AsyncTaskRunResource:
525
554
  """The Task API executes web research and extraction tasks.
@@ -853,6 +882,20 @@ class ParallelWithRawResponse:
853
882
  client.search,
854
883
  )
855
884
 
885
+ @cached_property
886
+ def responses(self) -> responses.ResponsesResourceWithRawResponse:
887
+ """
888
+ An OpenAI-Responses-compatible interface for answers grounded in live web research, with URL citations. Point any Responses-API client — the OpenAI Python SDK, OpenAI TypeScript SDK, the Agents SDK, or raw HTTP — at `https://api.parallel.ai` with your Parallel API key, set `model` to `parallel`, and call `/v1/responses`.
889
+ - `input` accepts a plain string or an array of role/content messages (canonical OpenAI shape; text content only).
890
+ - `reasoning.effort` (`low`/`medium`/`high`/`auto`) controls how much research is performed, trading response time for answer quality.
891
+ - Multi-turn via `previous_response_id`.
892
+ - Structured outputs via `text.format = {"type": "json_schema", "name": ..., "schema": {...}}`.
893
+ - Streaming (`stream=true`) emits the standard OpenAI Responses SSE lifecycle: `response.created` and `response.in_progress`, then output item / content part / text delta events with URL-citation annotations, the matching `*.done` events, and a terminal `response.completed` — or `response.failed` if the request fails mid-stream.
894
+ """
895
+ from .resources.responses import ResponsesResourceWithRawResponse
896
+
897
+ return ResponsesResourceWithRawResponse(self._client.responses)
898
+
856
899
  @cached_property
857
900
  def task_run(self) -> task_run.TaskRunResourceWithRawResponse:
858
901
  """The Task API executes web research and extraction tasks.
@@ -923,6 +966,20 @@ class AsyncParallelWithRawResponse:
923
966
  client.search,
924
967
  )
925
968
 
969
+ @cached_property
970
+ def responses(self) -> responses.AsyncResponsesResourceWithRawResponse:
971
+ """
972
+ An OpenAI-Responses-compatible interface for answers grounded in live web research, with URL citations. Point any Responses-API client — the OpenAI Python SDK, OpenAI TypeScript SDK, the Agents SDK, or raw HTTP — at `https://api.parallel.ai` with your Parallel API key, set `model` to `parallel`, and call `/v1/responses`.
973
+ - `input` accepts a plain string or an array of role/content messages (canonical OpenAI shape; text content only).
974
+ - `reasoning.effort` (`low`/`medium`/`high`/`auto`) controls how much research is performed, trading response time for answer quality.
975
+ - Multi-turn via `previous_response_id`.
976
+ - Structured outputs via `text.format = {"type": "json_schema", "name": ..., "schema": {...}}`.
977
+ - Streaming (`stream=true`) emits the standard OpenAI Responses SSE lifecycle: `response.created` and `response.in_progress`, then output item / content part / text delta events with URL-citation annotations, the matching `*.done` events, and a terminal `response.completed` — or `response.failed` if the request fails mid-stream.
978
+ """
979
+ from .resources.responses import AsyncResponsesResourceWithRawResponse
980
+
981
+ return AsyncResponsesResourceWithRawResponse(self._client.responses)
982
+
926
983
  @cached_property
927
984
  def task_run(self) -> task_run.AsyncTaskRunResourceWithRawResponse:
928
985
  """The Task API executes web research and extraction tasks.
@@ -993,6 +1050,20 @@ class ParallelWithStreamedResponse:
993
1050
  client.search,
994
1051
  )
995
1052
 
1053
+ @cached_property
1054
+ def responses(self) -> responses.ResponsesResourceWithStreamingResponse:
1055
+ """
1056
+ An OpenAI-Responses-compatible interface for answers grounded in live web research, with URL citations. Point any Responses-API client — the OpenAI Python SDK, OpenAI TypeScript SDK, the Agents SDK, or raw HTTP — at `https://api.parallel.ai` with your Parallel API key, set `model` to `parallel`, and call `/v1/responses`.
1057
+ - `input` accepts a plain string or an array of role/content messages (canonical OpenAI shape; text content only).
1058
+ - `reasoning.effort` (`low`/`medium`/`high`/`auto`) controls how much research is performed, trading response time for answer quality.
1059
+ - Multi-turn via `previous_response_id`.
1060
+ - Structured outputs via `text.format = {"type": "json_schema", "name": ..., "schema": {...}}`.
1061
+ - Streaming (`stream=true`) emits the standard OpenAI Responses SSE lifecycle: `response.created` and `response.in_progress`, then output item / content part / text delta events with URL-citation annotations, the matching `*.done` events, and a terminal `response.completed` — or `response.failed` if the request fails mid-stream.
1062
+ """
1063
+ from .resources.responses import ResponsesResourceWithStreamingResponse
1064
+
1065
+ return ResponsesResourceWithStreamingResponse(self._client.responses)
1066
+
996
1067
  @cached_property
997
1068
  def task_run(self) -> task_run.TaskRunResourceWithStreamingResponse:
998
1069
  """The Task API executes web research and extraction tasks.
@@ -1063,6 +1134,20 @@ class AsyncParallelWithStreamedResponse:
1063
1134
  client.search,
1064
1135
  )
1065
1136
 
1137
+ @cached_property
1138
+ def responses(self) -> responses.AsyncResponsesResourceWithStreamingResponse:
1139
+ """
1140
+ An OpenAI-Responses-compatible interface for answers grounded in live web research, with URL citations. Point any Responses-API client — the OpenAI Python SDK, OpenAI TypeScript SDK, the Agents SDK, or raw HTTP — at `https://api.parallel.ai` with your Parallel API key, set `model` to `parallel`, and call `/v1/responses`.
1141
+ - `input` accepts a plain string or an array of role/content messages (canonical OpenAI shape; text content only).
1142
+ - `reasoning.effort` (`low`/`medium`/`high`/`auto`) controls how much research is performed, trading response time for answer quality.
1143
+ - Multi-turn via `previous_response_id`.
1144
+ - Structured outputs via `text.format = {"type": "json_schema", "name": ..., "schema": {...}}`.
1145
+ - Streaming (`stream=true`) emits the standard OpenAI Responses SSE lifecycle: `response.created` and `response.in_progress`, then output item / content part / text delta events with URL-citation annotations, the matching `*.done` events, and a terminal `response.completed` — or `response.failed` if the request fails mid-stream.
1146
+ """
1147
+ from .resources.responses import AsyncResponsesResourceWithStreamingResponse
1148
+
1149
+ return AsyncResponsesResourceWithStreamingResponse(self._client.responses)
1150
+
1066
1151
  @cached_property
1067
1152
  def task_run(self) -> task_run.AsyncTaskRunResourceWithStreamingResponse:
1068
1153
  """The Task API executes web research and extraction tasks.
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "parallel"
4
- __version__ = "1.3.7" # x-release-please-version
4
+ __version__ = "1.4.0" # x-release-please-version
@@ -1,8 +1,11 @@
1
1
  from __future__ import annotations
2
2
 
3
+ import time
3
4
  from typing import Any, Type, Union, Callable, Coroutine, cast
4
5
 
5
- from .._time import timeout_retry_context
6
+ import anyio
7
+
8
+ from .._time import raise_timeout, delay_before_retry, is_retryable_wait_error
6
9
  from ...types import TaskRunResult, ParsedTaskRunResult
7
10
  from ..._types import Omit
8
11
  from ..._utils import is_str, is_given
@@ -10,6 +13,7 @@ from ..._compat import model_parse, model_parse_json
10
13
  from ..._models import construct_type_unchecked
11
14
  from .._pydantic import is_basemodel_type
12
15
  from ._task_spec import is_output_schema_param
16
+ from ..._exceptions import APIStatusError, APITimeoutError
13
17
  from ...types.task_spec_param import OutputT, OutputSchema
14
18
 
15
19
 
@@ -19,9 +23,18 @@ def wait_for_result(
19
23
  deadline: float,
20
24
  callable: Callable[[str, float], TaskRunResult | ParsedTaskRunResult[OutputT]],
21
25
  ) -> TaskRunResult | ParsedTaskRunResult[OutputT]:
22
- """Wait for a task run to complete within the given timeout."""
23
- with timeout_retry_context(run_id, deadline):
24
- return callable(run_id, deadline)
26
+ """Wait for a task run to complete within the given timeout, fetching its result
27
+ again when a fetch times out or the server answers 408, 503 or 504."""
28
+ exc: Union[Exception, None] = None
29
+ while time.monotonic() < deadline:
30
+ try:
31
+ return callable(run_id, deadline)
32
+ except (APITimeoutError, APIStatusError) as e:
33
+ if not is_retryable_wait_error(e):
34
+ raise
35
+ exc = e
36
+ time.sleep(delay_before_retry(e, deadline))
37
+ raise_timeout(run_id, exc)
25
38
 
26
39
 
27
40
  async def wait_for_result_async(
@@ -30,9 +43,18 @@ async def wait_for_result_async(
30
43
  deadline: float,
31
44
  callable: Callable[[str, float], Coroutine[Any, Any, TaskRunResult | ParsedTaskRunResult[OutputT]]],
32
45
  ) -> TaskRunResult | ParsedTaskRunResult[OutputT]:
33
- """Wait for a task run to complete within the given timeout."""
34
- with timeout_retry_context(run_id, deadline):
35
- return await callable(run_id, deadline)
46
+ """Wait for a task run to complete within the given timeout, fetching its result
47
+ again when a fetch times out or the server answers 408, 503 or 504."""
48
+ exc: Union[Exception, None] = None
49
+ while time.monotonic() < deadline:
50
+ try:
51
+ return await callable(run_id, deadline)
52
+ except (APITimeoutError, APIStatusError) as e:
53
+ if not is_retryable_wait_error(e):
54
+ raise
55
+ exc = e
56
+ await anyio.sleep(delay_before_retry(e, deadline))
57
+ raise_timeout(run_id, exc)
36
58
 
37
59
 
38
60
  def task_run_result_parser(
@@ -1,11 +1,10 @@
1
1
  import time
2
- import contextlib
3
- from typing import Union, Iterator, NoReturn
2
+ from typing import Union, NoReturn
4
3
 
5
4
  import httpx
6
5
 
7
6
  from .._types import NotGiven
8
- from .._constants import DEFAULT_EXECUTE_TIMEOUT_SECONDS
7
+ from .._constants import INITIAL_RETRY_DELAY, DEFAULT_EXECUTE_TIMEOUT_SECONDS
9
8
  from .._exceptions import APIStatusError, APITimeoutError
10
9
  from .._utils._utils import is_given
11
10
 
@@ -24,7 +23,7 @@ def prepare_timeout_float(timeout: Union[float, httpx.Timeout, None, NotGiven])
24
23
  return timeout
25
24
 
26
25
 
27
- def _raise_timeout(run_id: str, exc: Union[Exception, None]) -> NoReturn:
26
+ def raise_timeout(run_id: str, exc: Union[Exception, None]) -> NoReturn:
28
27
  raise TimeoutError(f"Fetching task run result for run id {run_id} timed out.") from exc
29
28
 
30
29
 
@@ -46,29 +45,16 @@ def _is_retryable_error(status_code: int) -> bool:
46
45
  return status_code in (408, 503, 504)
47
46
 
48
47
 
49
- @contextlib.contextmanager
50
- def timeout_retry_context(run_id: str, deadline: float) -> Iterator[None]:
51
- """Context manager for handling timeouts and retries when fetching task run results.
48
+ def is_retryable_wait_error(exc: Exception) -> bool:
49
+ """Whether a failed task run result fetch may be retried before the deadline."""
50
+ if isinstance(exc, APITimeoutError):
51
+ return True
52
+ return isinstance(exc, APIStatusError) and _is_retryable_error(exc.status_code)
52
53
 
53
- Args:
54
- run_id: The ID of the task run
55
- deadline: The absolute time (monotonic) by which the operation must complete
56
54
 
57
- Raises:
58
- TimeoutError: If the deadline is reached
59
- APIStatusError: For non-timeout API errors
60
- """
61
- exc: Union[Exception, None] = None
62
- while time.monotonic() < deadline:
63
- try:
64
- yield
65
- return
66
- except APITimeoutError as e:
67
- exc = e
68
- continue
69
- except APIStatusError as e:
70
- if _is_retryable_error(e.status_code):
71
- exc = e
72
- continue
73
- raise
74
- _raise_timeout(run_id, exc)
55
+ def delay_before_retry(exc: Exception, deadline: float) -> float:
56
+ """Seconds to pause before fetching the result again. A timeout or 408 already
57
+ waited for the run, so it retries at once; a 503 or 504 pauses briefly."""
58
+ if isinstance(exc, APIStatusError) and exc.status_code != 408:
59
+ return max(0.0, min(INITIAL_RETRY_DELAY, deadline - time.monotonic()))
60
+ return 0.0
@@ -70,7 +70,7 @@ class MonitorResource(SyncAPIResource):
70
70
  type: Literal["event_stream", "snapshot"],
71
71
  memory_scope_key: Optional[str] | Omit = omit,
72
72
  metadata: Optional[Dict[str, str]] | Omit = omit,
73
- processor: Literal["lite", "base"] | Omit = omit,
73
+ processor: Literal["lite", "base", "core"] | Omit = omit,
74
74
  webhook: Optional[MonitorWebhookParam] | Omit = omit,
75
75
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
76
76
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -106,8 +106,10 @@ class MonitorResource(SyncAPIResource):
106
106
  notifications and GET responses, so you can map events to objects in your
107
107
  application. Keys: max 16 chars; values: max 512 chars.
108
108
 
109
- processor: Processor to use for the monitor. `lite` is faster and cheaper; `base` performs
110
- more thorough analysis at higher cost and latency. Defaults to `lite`.
109
+ processor: Processor to use for the monitor. `lite` is the cheapest; `base` performs more
110
+ thorough analysis for higher-quality results at higher cost; `core` performs the
111
+ most thorough analysis for the highest-quality results at the highest cost.
112
+ Defaults to `lite`.
111
113
 
112
114
  webhook: Webhook configuration for a monitor.
113
115
 
@@ -182,7 +184,7 @@ class MonitorResource(SyncAPIResource):
182
184
  *,
183
185
  frequency: Optional[str] | Omit = omit,
184
186
  metadata: Optional[Dict[str, str]] | Omit = omit,
185
- processor: Optional[Literal["lite", "base"]] | Omit = omit,
187
+ processor: Optional[Literal["lite", "base", "core"]] | Omit = omit,
186
188
  settings: Optional[UpdateMonitorEventStreamSettingsParam] | Omit = omit,
187
189
  type: Optional[Literal["event_stream", "snapshot"]] | Omit = omit,
188
190
  webhook: Optional[MonitorWebhookParam] | Omit = omit,
@@ -212,9 +214,10 @@ class MonitorResource(SyncAPIResource):
212
214
  notifications and GET responses, so you can map events to objects in your
213
215
  application. Keys: max 16 chars; values: max 512 chars.
214
216
 
215
- processor: Processor to use for subsequent monitor runs. `lite` is faster and cheaper;
216
- `base` performs more thorough analysis at higher cost and latency. Omit to keep
217
- the current processor; `null` is rejected.
217
+ processor: Processor to use for subsequent monitor runs. `lite` is the cheapest; `base`
218
+ performs more thorough analysis for higher-quality results at higher cost;
219
+ `core` performs the most thorough analysis for the highest-quality results at
220
+ the highest cost. Omit to keep the current processor; `null` is rejected.
218
221
 
219
222
  settings: Type-specific update settings for an `event_stream` monitor.
220
223
 
@@ -497,7 +500,7 @@ class AsyncMonitorResource(AsyncAPIResource):
497
500
  type: Literal["event_stream", "snapshot"],
498
501
  memory_scope_key: Optional[str] | Omit = omit,
499
502
  metadata: Optional[Dict[str, str]] | Omit = omit,
500
- processor: Literal["lite", "base"] | Omit = omit,
503
+ processor: Literal["lite", "base", "core"] | Omit = omit,
501
504
  webhook: Optional[MonitorWebhookParam] | Omit = omit,
502
505
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
503
506
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -533,8 +536,10 @@ class AsyncMonitorResource(AsyncAPIResource):
533
536
  notifications and GET responses, so you can map events to objects in your
534
537
  application. Keys: max 16 chars; values: max 512 chars.
535
538
 
536
- processor: Processor to use for the monitor. `lite` is faster and cheaper; `base` performs
537
- more thorough analysis at higher cost and latency. Defaults to `lite`.
539
+ processor: Processor to use for the monitor. `lite` is the cheapest; `base` performs more
540
+ thorough analysis for higher-quality results at higher cost; `core` performs the
541
+ most thorough analysis for the highest-quality results at the highest cost.
542
+ Defaults to `lite`.
538
543
 
539
544
  webhook: Webhook configuration for a monitor.
540
545
 
@@ -609,7 +614,7 @@ class AsyncMonitorResource(AsyncAPIResource):
609
614
  *,
610
615
  frequency: Optional[str] | Omit = omit,
611
616
  metadata: Optional[Dict[str, str]] | Omit = omit,
612
- processor: Optional[Literal["lite", "base"]] | Omit = omit,
617
+ processor: Optional[Literal["lite", "base", "core"]] | Omit = omit,
613
618
  settings: Optional[UpdateMonitorEventStreamSettingsParam] | Omit = omit,
614
619
  type: Optional[Literal["event_stream", "snapshot"]] | Omit = omit,
615
620
  webhook: Optional[MonitorWebhookParam] | Omit = omit,
@@ -639,9 +644,10 @@ class AsyncMonitorResource(AsyncAPIResource):
639
644
  notifications and GET responses, so you can map events to objects in your
640
645
  application. Keys: max 16 chars; values: max 512 chars.
641
646
 
642
- processor: Processor to use for subsequent monitor runs. `lite` is faster and cheaper;
643
- `base` performs more thorough analysis at higher cost and latency. Omit to keep
644
- the current processor; `null` is rejected.
647
+ processor: Processor to use for subsequent monitor runs. `lite` is the cheapest; `base`
648
+ performs more thorough analysis for higher-quality results at higher cost;
649
+ `core` performs the most thorough analysis for the highest-quality results at
650
+ the highest cost. Omit to keep the current processor; `null` is rejected.
645
651
 
646
652
  settings: Type-specific update settings for an `event_stream` monitor.
647
653
 
@@ -0,0 +1,19 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from .responses import (
4
+ ResponsesResource,
5
+ AsyncResponsesResource,
6
+ ResponsesResourceWithRawResponse,
7
+ AsyncResponsesResourceWithRawResponse,
8
+ ResponsesResourceWithStreamingResponse,
9
+ AsyncResponsesResourceWithStreamingResponse,
10
+ )
11
+
12
+ __all__ = [
13
+ "ResponsesResource",
14
+ "AsyncResponsesResource",
15
+ "ResponsesResourceWithRawResponse",
16
+ "AsyncResponsesResourceWithRawResponse",
17
+ "ResponsesResourceWithStreamingResponse",
18
+ "AsyncResponsesResourceWithStreamingResponse",
19
+ ]
@@ -0,0 +1,11 @@
1
+ # Responses
2
+
3
+ Types:
4
+
5
+ ```python
6
+ from parallel.types.responses import ResponseResult, ResponseStreamEvent
7
+ ```
8
+
9
+ Methods:
10
+
11
+ - <code title="post /v1/responses">client.responses.<a href="./src/parallel/resources/responses/responses.py">create</a>(\*\*<a href="src/parallel/types/responses/response_create_params.py">params</a>) -> <a href="./src/parallel/types/responses/response_result.py">ResponseResult</a></code>