parallel-web 1.3.3__tar.gz → 1.3.5__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.
- parallel_web-1.3.5/.release-please-manifest.json +3 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/CHANGELOG.md +14 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/PKG-INFO +1 -1
- {parallel_web-1.3.3 → parallel_web-1.3.5}/pyproject.toml +1 -1
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_client.py +0 -20
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_version.py +1 -1
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/resources/monitor.py +2 -2
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/resources/task_run.py +12 -2
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/advanced_monitor_settings.py +6 -1
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/advanced_monitor_settings_param.py +6 -1
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/advanced_search_settings_param.py +6 -1
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/run_input.py +6 -1
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/run_input_param.py +6 -1
- parallel_web-1.3.5/src/parallel/types/shared/source_policy.py +46 -0
- parallel_web-1.3.5/src/parallel/types/shared_params/source_policy.py +50 -0
- parallel_web-1.3.5/src/parallel/types/task_advanced_settings.py +42 -0
- parallel_web-1.3.5/src/parallel/types/task_advanced_settings_param.py +45 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_run_create_params.py +6 -1
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_run_progress_message_event.py +1 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/api_resources/test_client.py +4 -4
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/api_resources/test_monitor.py +8 -8
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/api_resources/test_task_group.py +18 -6
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/api_resources/test_task_run.py +18 -6
- parallel_web-1.3.3/.release-please-manifest.json +0 -3
- parallel_web-1.3.3/src/parallel/types/shared/source_policy.py +0 -40
- parallel_web-1.3.3/src/parallel/types/shared_params/source_policy.py +0 -44
- parallel_web-1.3.3/src/parallel/types/task_advanced_settings.py +0 -14
- parallel_web-1.3.3/src/parallel/types/task_advanced_settings_param.py +0 -15
- {parallel_web-1.3.3 → parallel_web-1.3.5}/.gitignore +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/CONTRIBUTING.md +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/LICENSE +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/README.md +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/SECURITY.md +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/api.md +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/bin/check-release-environment +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/bin/publish-pypi +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/examples/.keep +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/noxfile.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/release-please-config.json +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/requirements-dev.lock +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/requirements.lock +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/__init__.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_base_client.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_compat.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_constants.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_exceptions.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_files.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_models.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_qs.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_resource.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_response.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_streaming.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_types.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_utils/__init__.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_utils/_compat.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_utils/_datetime_parse.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_utils/_json.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_utils/_logs.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_utils/_path.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_utils/_proxy.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_utils/_reflection.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_utils/_resources_proxy.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_utils/_streams.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_utils/_sync.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_utils/_transform.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_utils/_typing.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/_utils/_utils.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/lib/.keep +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/lib/__init__.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/lib/_parsing/__init__.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/lib/_parsing/_task_run_result.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/lib/_parsing/_task_spec.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/lib/_pydantic.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/lib/_time.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/py.typed +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/resources/__init__.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/resources/beta/__init__.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/resources/beta/api.md +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/resources/beta/beta.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/resources/beta/findall.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/resources/beta/memory.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/resources/task_group.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/__init__.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/advanced_extract_settings_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/auto_schema.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/auto_schema_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/__init__.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_candidate.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_candidate_match_status_event.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_candidate_metrics.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_create_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_enrich_input.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_enrich_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_entity_search_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_entity_search_response.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_events_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_events_response.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_extend_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_ingest_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_memory_result.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_run.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_run_result.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_run_status.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_run_status_event.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_schema.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/findall_schema_updated_event.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/match_condition.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/match_condition_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/memory_clear_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/memory_evict_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/memory_retrieve_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/memory_retrieve_response.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/monitor_memory_event.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/monitor_memory_result.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/parallel_beta_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/beta/task_memory_result.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/citation.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/client_extract_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/client_search_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/error_event.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/excerpt_settings_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/extract_error.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/extract_response.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/extract_result.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/fetch_policy_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/field_basis.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/full_content_settings_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/json_schema.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/json_schema_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/mcp_server.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/mcp_server_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/mcp_tool_call.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_completion_event.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_create_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_error_event.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_event_stream_event.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_event_stream_response_settings.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_event_stream_settings_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_events_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_list_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_snapshot_event.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_snapshot_output.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_snapshot_response_settings.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_snapshot_settings_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_update_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_webhook.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/monitor_webhook_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/paginated_monitor_events.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/paginated_monitor_response.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/parsed_task_run_result.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/search_result.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/shared/__init__.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/shared/error_object.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/shared/error_response.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/shared/warning.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/shared_params/__init__.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_group.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_group_add_runs_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_group_create_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_group_events_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_group_events_response.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_group_get_runs_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_group_get_runs_response.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_group_run_response.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_group_status.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_group_status_event.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_run.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_run_event.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_run_events_response.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_run_json_output.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_run_progress_stats_event.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_run_result.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_run_result_params.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_run_source_stats.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_run_text_output.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_spec.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/task_spec_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/text_schema.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/text_schema_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/update_monitor_event_stream_settings_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/usage_item.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/web_search_result.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/webhook.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/webhook_param.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/__init__.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/api_resources/__init__.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/api_resources/beta/__init__.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/api_resources/beta/test_findall.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/api_resources/beta/test_memory.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/conftest.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/sample_file.txt +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/test_client.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/test_extract_files.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/test_files.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/test_models.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/test_qs.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/test_required_args.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/test_response.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/test_streaming.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/test_transform.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/test_utils/test_datetime_parse.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/test_utils/test_json.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/test_utils/test_path.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/test_utils/test_proxy.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/test_utils/test_typing.py +0 -0
- {parallel_web-1.3.3 → parallel_web-1.3.5}/tests/utils.py +0 -0
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.3.5](https://github.com/parallel-web/parallel-sdk-python/compare/v1.3.4...v1.3.5) (2026-09-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Chores
|
|
7
|
+
|
|
8
|
+
* sync sdk-openapi.json from shapleyai/code@d8feeba4be ([f6c62fe](https://github.com/parallel-web/parallel-sdk-python/commit/f6c62feabe35dfd027766e752c95182227aea22a))
|
|
9
|
+
|
|
10
|
+
## [1.3.4](https://github.com/parallel-web/parallel-sdk-python/compare/v1.3.3...v1.3.4) (2026-09-04)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Chores
|
|
14
|
+
|
|
15
|
+
* sync sdk-openapi.json from shapleyai/code@1072344fee ([fd6d42e](https://github.com/parallel-web/parallel-sdk-python/commit/fd6d42e49e86c078408e90417dcd81e4a936e871))
|
|
16
|
+
|
|
3
17
|
## [1.3.3](https://github.com/parallel-web/parallel-sdk-python/compare/v1.3.2...v1.3.3) (2026-09-01)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: parallel-web
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.5
|
|
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
|
|
@@ -291,11 +291,6 @@ class Parallel(SyncAPIClient):
|
|
|
291
291
|
"""
|
|
292
292
|
Extracts relevant content from specific web URLs.
|
|
293
293
|
|
|
294
|
-
The legacy Extract API reference (`/v1beta/extract` endpoint) is available
|
|
295
|
-
[here](https://docs.parallel.ai/api-reference/legacy/extract-beta/extract), and
|
|
296
|
-
migration guide is
|
|
297
|
-
[here](https://docs.parallel.ai/extract/extract-migration-guide).
|
|
298
|
-
|
|
299
294
|
Args:
|
|
300
295
|
urls: URLs to extract content from. Up to 20 URLs.
|
|
301
296
|
|
|
@@ -368,11 +363,6 @@ class Parallel(SyncAPIClient):
|
|
|
368
363
|
"""
|
|
369
364
|
Searches the web.
|
|
370
365
|
|
|
371
|
-
The legacy Search API reference (`/v1beta/search` endpoint) is available
|
|
372
|
-
[here](https://docs.parallel.ai/api-reference/legacy/search-beta/search), and
|
|
373
|
-
migration guide is
|
|
374
|
-
[here](https://docs.parallel.ai/search/search-migration-guide).
|
|
375
|
-
|
|
376
366
|
Args:
|
|
377
367
|
search_queries: Concise keyword search queries, 3-6 words each. At least one query is required,
|
|
378
368
|
provide 2-3 for best results. Used together with objective to focus results on
|
|
@@ -685,11 +675,6 @@ class AsyncParallel(AsyncAPIClient):
|
|
|
685
675
|
"""
|
|
686
676
|
Extracts relevant content from specific web URLs.
|
|
687
677
|
|
|
688
|
-
The legacy Extract API reference (`/v1beta/extract` endpoint) is available
|
|
689
|
-
[here](https://docs.parallel.ai/api-reference/legacy/extract-beta/extract), and
|
|
690
|
-
migration guide is
|
|
691
|
-
[here](https://docs.parallel.ai/extract/extract-migration-guide).
|
|
692
|
-
|
|
693
678
|
Args:
|
|
694
679
|
urls: URLs to extract content from. Up to 20 URLs.
|
|
695
680
|
|
|
@@ -762,11 +747,6 @@ class AsyncParallel(AsyncAPIClient):
|
|
|
762
747
|
"""
|
|
763
748
|
Searches the web.
|
|
764
749
|
|
|
765
|
-
The legacy Search API reference (`/v1beta/search` endpoint) is available
|
|
766
|
-
[here](https://docs.parallel.ai/api-reference/legacy/search-beta/search), and
|
|
767
|
-
migration guide is
|
|
768
|
-
[here](https://docs.parallel.ai/search/search-migration-guide).
|
|
769
|
-
|
|
770
750
|
Args:
|
|
771
751
|
search_queries: Concise keyword search queries, 3-6 words each. At least one query is required,
|
|
772
752
|
provide 2-3 for best results. Used together with objective to focus results on
|
|
@@ -201,7 +201,7 @@ class MonitorResource(SyncAPIResource):
|
|
|
201
201
|
rejects `null`, so omit it to leave it unchanged. Pass `type` and `settings` to
|
|
202
202
|
update type-specific settings on an `event_stream` monitor. Pass `processor` to
|
|
203
203
|
change the processor used by subsequent monitor runs. At least one field must be
|
|
204
|
-
provided.
|
|
204
|
+
provided. On a cancelled monitor only `metadata` can be updated.
|
|
205
205
|
|
|
206
206
|
Args:
|
|
207
207
|
frequency: Frequency of the monitor. Format: '<number><unit>' where unit is 'h' (hours),
|
|
@@ -628,7 +628,7 @@ class AsyncMonitorResource(AsyncAPIResource):
|
|
|
628
628
|
rejects `null`, so omit it to leave it unchanged. Pass `type` and `settings` to
|
|
629
629
|
update type-specific settings on an `event_stream` monitor. Pass `processor` to
|
|
630
630
|
change the processor used by subsequent monitor runs. At least one field must be
|
|
631
|
-
provided.
|
|
631
|
+
provided. On a cancelled monitor only `metadata` can be updated.
|
|
632
632
|
|
|
633
633
|
Args:
|
|
634
634
|
frequency: Frequency of the monitor. Format: '<number><unit>' where unit is 'h' (hours),
|
|
@@ -131,7 +131,12 @@ class TaskRunResource(SyncAPIResource):
|
|
|
131
131
|
|
|
132
132
|
source_policy: Source policy for web search results.
|
|
133
133
|
|
|
134
|
-
|
|
134
|
+
Plain domains match that domain and its subdomains. Domain/path entries use
|
|
135
|
+
case-sensitive path matching at segment boundaries; trailing slashes are
|
|
136
|
+
ignored, dot segments are normalized, and other percent-encoded path spelling is
|
|
137
|
+
preserved. Entries omit schemes, ports, query strings, and fragments. When
|
|
138
|
+
include_domains is non-empty, it defines the complete allowlist and
|
|
139
|
+
exclude_domains is ignored.
|
|
135
140
|
|
|
136
141
|
task_spec: Specification for a task.
|
|
137
142
|
|
|
@@ -551,7 +556,12 @@ class AsyncTaskRunResource(AsyncAPIResource):
|
|
|
551
556
|
|
|
552
557
|
source_policy: Source policy for web search results.
|
|
553
558
|
|
|
554
|
-
|
|
559
|
+
Plain domains match that domain and its subdomains. Domain/path entries use
|
|
560
|
+
case-sensitive path matching at segment boundaries; trailing slashes are
|
|
561
|
+
ignored, dot segments are normalized, and other percent-encoded path spelling is
|
|
562
|
+
preserved. Entries omit schemes, ports, query strings, and fragments. When
|
|
563
|
+
include_domains is non-empty, it defines the complete allowlist and
|
|
564
|
+
exclude_domains is ignored.
|
|
555
565
|
|
|
556
566
|
task_spec: Specification for a task.
|
|
557
567
|
|
|
@@ -17,5 +17,10 @@ class AdvancedMonitorSettings(BaseModel):
|
|
|
17
17
|
source_policy: Optional[SourcePolicy] = None
|
|
18
18
|
"""Source policy for web search results.
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
Plain domains match that domain and its subdomains. Domain/path entries use
|
|
21
|
+
case-sensitive path matching at segment boundaries; trailing slashes are
|
|
22
|
+
ignored, dot segments are normalized, and other percent-encoded path spelling is
|
|
23
|
+
preserved. Entries omit schemes, ports, query strings, and fragments. When
|
|
24
|
+
include_domains is non-empty, it defines the complete allowlist and
|
|
25
|
+
exclude_domains is ignored.
|
|
21
26
|
"""
|
{parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/advanced_monitor_settings_param.py
RENAMED
|
@@ -19,5 +19,10 @@ class AdvancedMonitorSettingsParam(TypedDict, total=False):
|
|
|
19
19
|
source_policy: Optional[SourcePolicy]
|
|
20
20
|
"""Source policy for web search results.
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
Plain domains match that domain and its subdomains. Domain/path entries use
|
|
23
|
+
case-sensitive path matching at segment boundaries; trailing slashes are
|
|
24
|
+
ignored, dot segments are normalized, and other percent-encoded path spelling is
|
|
25
|
+
preserved. Entries omit schemes, ports, query strings, and fragments. When
|
|
26
|
+
include_domains is non-empty, it defines the complete allowlist and
|
|
27
|
+
exclude_domains is ignored.
|
|
23
28
|
"""
|
{parallel_web-1.3.3 → parallel_web-1.3.5}/src/parallel/types/advanced_search_settings_param.py
RENAMED
|
@@ -34,5 +34,10 @@ class AdvancedSearchSettingsParam(TypedDict, total=False):
|
|
|
34
34
|
source_policy: Optional[SourcePolicy]
|
|
35
35
|
"""Source policy for web search results.
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
Plain domains match that domain and its subdomains. Domain/path entries use
|
|
38
|
+
case-sensitive path matching at segment boundaries; trailing slashes are
|
|
39
|
+
ignored, dot segments are normalized, and other percent-encoded path spelling is
|
|
40
|
+
preserved. Entries omit schemes, ports, query strings, and fragments. When
|
|
41
|
+
include_domains is non-empty, it defines the complete allowlist and
|
|
42
|
+
exclude_domains is ignored.
|
|
38
43
|
"""
|
|
@@ -56,7 +56,12 @@ class RunInput(BaseModel):
|
|
|
56
56
|
source_policy: Optional[SourcePolicy] = None
|
|
57
57
|
"""Source policy for web search results.
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
Plain domains match that domain and its subdomains. Domain/path entries use
|
|
60
|
+
case-sensitive path matching at segment boundaries; trailing slashes are
|
|
61
|
+
ignored, dot segments are normalized, and other percent-encoded path spelling is
|
|
62
|
+
preserved. Entries omit schemes, ports, query strings, and fragments. When
|
|
63
|
+
include_domains is non-empty, it defines the complete allowlist and
|
|
64
|
+
exclude_domains is ignored.
|
|
60
65
|
"""
|
|
61
66
|
|
|
62
67
|
task_spec: Optional[TaskSpec] = None
|
|
@@ -58,7 +58,12 @@ class RunInputParam(TypedDict, total=False):
|
|
|
58
58
|
source_policy: Optional[SourcePolicy]
|
|
59
59
|
"""Source policy for web search results.
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
Plain domains match that domain and its subdomains. Domain/path entries use
|
|
62
|
+
case-sensitive path matching at segment boundaries; trailing slashes are
|
|
63
|
+
ignored, dot segments are normalized, and other percent-encoded path spelling is
|
|
64
|
+
preserved. Entries omit schemes, ports, query strings, and fragments. When
|
|
65
|
+
include_domains is non-empty, it defines the complete allowlist and
|
|
66
|
+
exclude_domains is ignored.
|
|
62
67
|
"""
|
|
63
68
|
|
|
64
69
|
task_spec: Optional[TaskSpecParam]
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
from datetime import date
|
|
5
|
+
|
|
6
|
+
from ..._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["SourcePolicy"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class SourcePolicy(BaseModel):
|
|
12
|
+
"""Source policy for web search results.
|
|
13
|
+
|
|
14
|
+
Plain domains match that domain and its subdomains. Domain/path entries use
|
|
15
|
+
case-sensitive path matching at segment boundaries; trailing slashes are ignored,
|
|
16
|
+
dot segments are normalized, and other percent-encoded path spelling is preserved.
|
|
17
|
+
Entries omit schemes, ports, query strings, and fragments. When include_domains is
|
|
18
|
+
non-empty, it defines the complete allowlist and exclude_domains is ignored.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
after_date: Optional[date] = None
|
|
22
|
+
"""Optional start date for filtering search results.
|
|
23
|
+
|
|
24
|
+
Results will be limited to content published on or after this date. Provided as
|
|
25
|
+
an RFC 3339 date string (YYYY-MM-DD).
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
exclude_domains: Optional[List[str]] = None
|
|
29
|
+
"""List of domains or domain/path prefixes to exclude from results.
|
|
30
|
+
|
|
31
|
+
Applied only when include_domains is empty. If specified, matching sources will
|
|
32
|
+
be excluded. Accepts plain domains (e.g., reddit.com), domain/path prefixes
|
|
33
|
+
(e.g., youtube.com/shorts), or bare domain extensions (e.g., .gov, .edu,
|
|
34
|
+
.co.uk). The combined number of entries in include_domains and exclude_domains
|
|
35
|
+
cannot exceed 200.
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
include_domains: Optional[List[str]] = None
|
|
39
|
+
"""List of domains or domain/path prefixes to restrict results to.
|
|
40
|
+
|
|
41
|
+
If specified, only matching sources will be included and exclude_domains will be
|
|
42
|
+
ignored. Accepts plain domains (e.g., wikipedia.org), domain/path prefixes
|
|
43
|
+
(e.g., docs.python.org/3), or bare domain extensions (e.g., .gov, .edu, .co.uk).
|
|
44
|
+
The combined number of entries in include_domains and exclude_domains cannot
|
|
45
|
+
exceed 200.
|
|
46
|
+
"""
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Union
|
|
6
|
+
from datetime import date
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
8
|
+
|
|
9
|
+
from ..._types import SequenceNotStr
|
|
10
|
+
from ..._utils import PropertyInfo
|
|
11
|
+
|
|
12
|
+
__all__ = ["SourcePolicy"]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class SourcePolicy(TypedDict, total=False):
|
|
16
|
+
"""Source policy for web search results.
|
|
17
|
+
|
|
18
|
+
Plain domains match that domain and its subdomains. Domain/path entries use
|
|
19
|
+
case-sensitive path matching at segment boundaries; trailing slashes are ignored,
|
|
20
|
+
dot segments are normalized, and other percent-encoded path spelling is preserved.
|
|
21
|
+
Entries omit schemes, ports, query strings, and fragments. When include_domains is
|
|
22
|
+
non-empty, it defines the complete allowlist and exclude_domains is ignored.
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
after_date: Annotated[Union[str, date, None], PropertyInfo(format="iso8601")]
|
|
26
|
+
"""Optional start date for filtering search results.
|
|
27
|
+
|
|
28
|
+
Results will be limited to content published on or after this date. Provided as
|
|
29
|
+
an RFC 3339 date string (YYYY-MM-DD).
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
exclude_domains: SequenceNotStr[str]
|
|
33
|
+
"""List of domains or domain/path prefixes to exclude from results.
|
|
34
|
+
|
|
35
|
+
Applied only when include_domains is empty. If specified, matching sources will
|
|
36
|
+
be excluded. Accepts plain domains (e.g., reddit.com), domain/path prefixes
|
|
37
|
+
(e.g., youtube.com/shorts), or bare domain extensions (e.g., .gov, .edu,
|
|
38
|
+
.co.uk). The combined number of entries in include_domains and exclude_domains
|
|
39
|
+
cannot exceed 200.
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
include_domains: SequenceNotStr[str]
|
|
43
|
+
"""List of domains or domain/path prefixes to restrict results to.
|
|
44
|
+
|
|
45
|
+
If specified, only matching sources will be included and exclude_domains will be
|
|
46
|
+
ignored. Accepts plain domains (e.g., wikipedia.org), domain/path prefixes
|
|
47
|
+
(e.g., docs.python.org/3), or bare domain extensions (e.g., .gov, .edu, .co.uk).
|
|
48
|
+
The combined number of entries in include_domains and exclude_domains cannot
|
|
49
|
+
exceed 200.
|
|
50
|
+
"""
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from .._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["TaskAdvancedSettings", "DataSources"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DataSources(BaseModel):
|
|
11
|
+
"""Optional partner data sources to enable for this task run.
|
|
12
|
+
|
|
13
|
+
Supported on standard processors only; a selected partner name must not collide with an `mcp_servers` entry.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
free: Optional[List[str]] = None
|
|
17
|
+
"""
|
|
18
|
+
Free data partners to enable for this task, in addition to sources included with
|
|
19
|
+
the processor. Never billed. See the Data Sources documentation for the
|
|
20
|
+
available names.
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
pay_per_use: Optional[List[str]] = None
|
|
24
|
+
"""
|
|
25
|
+
Pay-per-use data partners to enable for this task, in addition to sources
|
|
26
|
+
included with the processor. See the Data Sources documentation for the
|
|
27
|
+
available names.
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class TaskAdvancedSettings(BaseModel):
|
|
32
|
+
"""Advanced search configuration for a task run."""
|
|
33
|
+
|
|
34
|
+
data_sources: Optional[DataSources] = None
|
|
35
|
+
"""Optional partner data sources to enable for this task run.
|
|
36
|
+
|
|
37
|
+
Supported on standard processors only; a selected partner name must not collide
|
|
38
|
+
with an `mcp_servers` entry.
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
location: Optional[str] = None
|
|
42
|
+
"""ISO 3166-1 alpha-2 country code for geo-targeted search results."""
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import TypedDict
|
|
7
|
+
|
|
8
|
+
from .._types import SequenceNotStr
|
|
9
|
+
|
|
10
|
+
__all__ = ["TaskAdvancedSettingsParam", "DataSources"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class DataSources(TypedDict, total=False):
|
|
14
|
+
"""Optional partner data sources to enable for this task run.
|
|
15
|
+
|
|
16
|
+
Supported on standard processors only; a selected partner name must not collide with an `mcp_servers` entry.
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
free: SequenceNotStr[str]
|
|
20
|
+
"""
|
|
21
|
+
Free data partners to enable for this task, in addition to sources included with
|
|
22
|
+
the processor. Never billed. See the Data Sources documentation for the
|
|
23
|
+
available names.
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
pay_per_use: SequenceNotStr[str]
|
|
27
|
+
"""
|
|
28
|
+
Pay-per-use data partners to enable for this task, in addition to sources
|
|
29
|
+
included with the processor. See the Data Sources documentation for the
|
|
30
|
+
available names.
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class TaskAdvancedSettingsParam(TypedDict, total=False):
|
|
35
|
+
"""Advanced search configuration for a task run."""
|
|
36
|
+
|
|
37
|
+
data_sources: Optional[DataSources]
|
|
38
|
+
"""Optional partner data sources to enable for this task run.
|
|
39
|
+
|
|
40
|
+
Supported on standard processors only; a selected partner name must not collide
|
|
41
|
+
with an `mcp_servers` entry.
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
location: Optional[str]
|
|
45
|
+
"""ISO 3166-1 alpha-2 country code for geo-targeted search results."""
|
|
@@ -58,7 +58,12 @@ class TaskRunCreateParams(TypedDict, total=False):
|
|
|
58
58
|
source_policy: Optional[SourcePolicy]
|
|
59
59
|
"""Source policy for web search results.
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
Plain domains match that domain and its subdomains. Domain/path entries use
|
|
62
|
+
case-sensitive path matching at segment boundaries; trailing slashes are
|
|
63
|
+
ignored, dot segments are normalized, and other percent-encoded path spelling is
|
|
64
|
+
preserved. Entries omit schemes, ports, query strings, and fragments. When
|
|
65
|
+
include_domains is non-empty, it defines the complete allowlist and
|
|
66
|
+
exclude_domains is ignored.
|
|
62
67
|
"""
|
|
63
68
|
|
|
64
69
|
task_spec: Optional[TaskSpecParam]
|
|
@@ -95,8 +95,8 @@ class TestClient:
|
|
|
95
95
|
"max_results": 0,
|
|
96
96
|
"source_policy": {
|
|
97
97
|
"after_date": parse_date("2024-01-01"),
|
|
98
|
-
"exclude_domains": ["reddit.com", "
|
|
99
|
-
"include_domains": ["wikipedia.org", "
|
|
98
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
99
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
100
100
|
},
|
|
101
101
|
},
|
|
102
102
|
client_model="claude-opus-4-7",
|
|
@@ -211,8 +211,8 @@ class TestAsyncClient:
|
|
|
211
211
|
"max_results": 0,
|
|
212
212
|
"source_policy": {
|
|
213
213
|
"after_date": parse_date("2024-01-01"),
|
|
214
|
-
"exclude_domains": ["reddit.com", "
|
|
215
|
-
"include_domains": ["wikipedia.org", "
|
|
214
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
215
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
216
216
|
},
|
|
217
217
|
},
|
|
218
218
|
client_model="claude-opus-4-7",
|
|
@@ -41,8 +41,8 @@ class TestMonitor:
|
|
|
41
41
|
"location": "us",
|
|
42
42
|
"source_policy": {
|
|
43
43
|
"after_date": parse_date("2024-01-01"),
|
|
44
|
-
"exclude_domains": ["reddit.com", "
|
|
45
|
-
"include_domains": ["wikipedia.org", "
|
|
44
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
45
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
46
46
|
},
|
|
47
47
|
},
|
|
48
48
|
"include_backfill": True,
|
|
@@ -158,8 +158,8 @@ class TestMonitor:
|
|
|
158
158
|
"location": "us",
|
|
159
159
|
"source_policy": {
|
|
160
160
|
"after_date": parse_date("2024-01-01"),
|
|
161
|
-
"exclude_domains": ["reddit.com", "
|
|
162
|
-
"include_domains": ["wikipedia.org", "
|
|
161
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
162
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
163
163
|
},
|
|
164
164
|
},
|
|
165
165
|
"query": "Extract recent news about AI",
|
|
@@ -388,8 +388,8 @@ class TestAsyncMonitor:
|
|
|
388
388
|
"location": "us",
|
|
389
389
|
"source_policy": {
|
|
390
390
|
"after_date": parse_date("2024-01-01"),
|
|
391
|
-
"exclude_domains": ["reddit.com", "
|
|
392
|
-
"include_domains": ["wikipedia.org", "
|
|
391
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
392
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
393
393
|
},
|
|
394
394
|
},
|
|
395
395
|
"include_backfill": True,
|
|
@@ -505,8 +505,8 @@ class TestAsyncMonitor:
|
|
|
505
505
|
"location": "us",
|
|
506
506
|
"source_policy": {
|
|
507
507
|
"after_date": parse_date("2024-01-01"),
|
|
508
|
-
"exclude_domains": ["reddit.com", "
|
|
509
|
-
"include_domains": ["wikipedia.org", "
|
|
508
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
509
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
510
510
|
},
|
|
511
511
|
},
|
|
512
512
|
"query": "Extract recent news about AI",
|
|
@@ -113,7 +113,13 @@ class TestTaskGroup:
|
|
|
113
113
|
{
|
|
114
114
|
"input": "What was the GDP of France in 2023?",
|
|
115
115
|
"processor": "base",
|
|
116
|
-
"advanced_settings": {
|
|
116
|
+
"advanced_settings": {
|
|
117
|
+
"data_sources": {
|
|
118
|
+
"free": ["string"],
|
|
119
|
+
"pay_per_use": ["string"],
|
|
120
|
+
},
|
|
121
|
+
"location": "us",
|
|
122
|
+
},
|
|
117
123
|
"enable_events": True,
|
|
118
124
|
"mcp_servers": [
|
|
119
125
|
{
|
|
@@ -129,8 +135,8 @@ class TestTaskGroup:
|
|
|
129
135
|
"previous_interaction_id": "previous_interaction_id",
|
|
130
136
|
"source_policy": {
|
|
131
137
|
"after_date": parse_date("2024-01-01"),
|
|
132
|
-
"exclude_domains": ["reddit.com", "
|
|
133
|
-
"include_domains": ["wikipedia.org", "
|
|
138
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
139
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
134
140
|
},
|
|
135
141
|
"task_spec": {
|
|
136
142
|
"output_schema": {
|
|
@@ -455,7 +461,13 @@ class TestAsyncTaskGroup:
|
|
|
455
461
|
{
|
|
456
462
|
"input": "What was the GDP of France in 2023?",
|
|
457
463
|
"processor": "base",
|
|
458
|
-
"advanced_settings": {
|
|
464
|
+
"advanced_settings": {
|
|
465
|
+
"data_sources": {
|
|
466
|
+
"free": ["string"],
|
|
467
|
+
"pay_per_use": ["string"],
|
|
468
|
+
},
|
|
469
|
+
"location": "us",
|
|
470
|
+
},
|
|
459
471
|
"enable_events": True,
|
|
460
472
|
"mcp_servers": [
|
|
461
473
|
{
|
|
@@ -471,8 +483,8 @@ class TestAsyncTaskGroup:
|
|
|
471
483
|
"previous_interaction_id": "previous_interaction_id",
|
|
472
484
|
"source_policy": {
|
|
473
485
|
"after_date": parse_date("2024-01-01"),
|
|
474
|
-
"exclude_domains": ["reddit.com", "
|
|
475
|
-
"include_domains": ["wikipedia.org", "
|
|
486
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
487
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
476
488
|
},
|
|
477
489
|
"task_spec": {
|
|
478
490
|
"output_schema": {
|
|
@@ -35,7 +35,13 @@ class TestTaskRun:
|
|
|
35
35
|
task_run = client.task_run.create(
|
|
36
36
|
input="What was the GDP of France in 2023?",
|
|
37
37
|
processor="base",
|
|
38
|
-
advanced_settings={
|
|
38
|
+
advanced_settings={
|
|
39
|
+
"data_sources": {
|
|
40
|
+
"free": ["string"],
|
|
41
|
+
"pay_per_use": ["string"],
|
|
42
|
+
},
|
|
43
|
+
"location": "us",
|
|
44
|
+
},
|
|
39
45
|
enable_events=True,
|
|
40
46
|
mcp_servers=[
|
|
41
47
|
{
|
|
@@ -51,8 +57,8 @@ class TestTaskRun:
|
|
|
51
57
|
previous_interaction_id="previous_interaction_id",
|
|
52
58
|
source_policy={
|
|
53
59
|
"after_date": parse_date("2024-01-01"),
|
|
54
|
-
"exclude_domains": ["reddit.com", "
|
|
55
|
-
"include_domains": ["wikipedia.org", "
|
|
60
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
61
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
56
62
|
},
|
|
57
63
|
task_spec={
|
|
58
64
|
"output_schema": {
|
|
@@ -279,7 +285,13 @@ class TestAsyncTaskRun:
|
|
|
279
285
|
task_run = await async_client.task_run.create(
|
|
280
286
|
input="What was the GDP of France in 2023?",
|
|
281
287
|
processor="base",
|
|
282
|
-
advanced_settings={
|
|
288
|
+
advanced_settings={
|
|
289
|
+
"data_sources": {
|
|
290
|
+
"free": ["string"],
|
|
291
|
+
"pay_per_use": ["string"],
|
|
292
|
+
},
|
|
293
|
+
"location": "us",
|
|
294
|
+
},
|
|
283
295
|
enable_events=True,
|
|
284
296
|
mcp_servers=[
|
|
285
297
|
{
|
|
@@ -295,8 +307,8 @@ class TestAsyncTaskRun:
|
|
|
295
307
|
previous_interaction_id="previous_interaction_id",
|
|
296
308
|
source_policy={
|
|
297
309
|
"after_date": parse_date("2024-01-01"),
|
|
298
|
-
"exclude_domains": ["reddit.com", "
|
|
299
|
-
"include_domains": ["wikipedia.org", "
|
|
310
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
311
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
300
312
|
},
|
|
301
313
|
task_spec={
|
|
302
314
|
"output_schema": {
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import List, Optional
|
|
4
|
-
from datetime import date
|
|
5
|
-
|
|
6
|
-
from ..._models import BaseModel
|
|
7
|
-
|
|
8
|
-
__all__ = ["SourcePolicy"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class SourcePolicy(BaseModel):
|
|
12
|
-
"""Source policy for web search results.
|
|
13
|
-
|
|
14
|
-
This policy governs which sources are allowed/disallowed in results.
|
|
15
|
-
"""
|
|
16
|
-
|
|
17
|
-
after_date: Optional[date] = None
|
|
18
|
-
"""Optional start date for filtering search results.
|
|
19
|
-
|
|
20
|
-
Results will be limited to content published on or after this date. Provided as
|
|
21
|
-
an RFC 3339 date string (YYYY-MM-DD).
|
|
22
|
-
"""
|
|
23
|
-
|
|
24
|
-
exclude_domains: Optional[List[str]] = None
|
|
25
|
-
"""List of domains to exclude from results.
|
|
26
|
-
|
|
27
|
-
If specified, sources from these domains will be excluded. Accepts plain domains
|
|
28
|
-
(e.g., example.com, subdomain.example.gov) or bare domain extension starting
|
|
29
|
-
with a period (e.g., .gov, .edu, .co.uk). The combined number of domains in
|
|
30
|
-
include_domains and exclude_domains cannot exceed 200.
|
|
31
|
-
"""
|
|
32
|
-
|
|
33
|
-
include_domains: Optional[List[str]] = None
|
|
34
|
-
"""List of domains to restrict the results to.
|
|
35
|
-
|
|
36
|
-
If specified, only sources from these domains will be included. Accepts plain
|
|
37
|
-
domains (e.g., example.com, subdomain.example.gov) or bare domain extension
|
|
38
|
-
starting with a period (e.g., .gov, .edu, .co.uk). The combined number of
|
|
39
|
-
domains in include_domains and exclude_domains cannot exceed 200.
|
|
40
|
-
"""
|