parallel-web 1.3.2__tar.gz → 1.3.4__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.4/.release-please-manifest.json +3 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/CHANGELOG.md +14 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/PKG-INFO +1 -1
- {parallel_web-1.3.2 → parallel_web-1.3.4}/pyproject.toml +1 -1
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_version.py +1 -1
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/resources/monitor.py +30 -10
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/resources/task_run.py +12 -2
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/advanced_monitor_settings.py +6 -1
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/advanced_monitor_settings_param.py +6 -1
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/advanced_search_settings_param.py +6 -1
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_update_params.py +11 -2
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/run_input.py +6 -1
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/run_input_param.py +6 -1
- parallel_web-1.3.4/src/parallel/types/shared/source_policy.py +46 -0
- parallel_web-1.3.4/src/parallel/types/shared_params/source_policy.py +50 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_run_create_params.py +6 -1
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/update_monitor_event_stream_settings_param.py +2 -1
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/api_resources/test_client.py +4 -4
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/api_resources/test_monitor.py +10 -8
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/api_resources/test_task_group.py +4 -4
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/api_resources/test_task_run.py +4 -4
- parallel_web-1.3.2/.release-please-manifest.json +0 -3
- parallel_web-1.3.2/src/parallel/types/shared/source_policy.py +0 -40
- parallel_web-1.3.2/src/parallel/types/shared_params/source_policy.py +0 -44
- {parallel_web-1.3.2 → parallel_web-1.3.4}/.gitignore +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/CONTRIBUTING.md +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/LICENSE +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/README.md +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/SECURITY.md +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/api.md +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/bin/check-release-environment +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/bin/publish-pypi +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/examples/.keep +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/noxfile.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/release-please-config.json +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/requirements-dev.lock +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/requirements.lock +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/__init__.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_base_client.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_client.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_compat.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_constants.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_exceptions.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_files.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_models.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_qs.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_resource.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_response.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_streaming.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_types.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_utils/__init__.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_utils/_compat.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_utils/_datetime_parse.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_utils/_json.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_utils/_logs.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_utils/_path.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_utils/_proxy.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_utils/_reflection.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_utils/_resources_proxy.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_utils/_streams.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_utils/_sync.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_utils/_transform.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_utils/_typing.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/_utils/_utils.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/lib/.keep +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/lib/__init__.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/lib/_parsing/__init__.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/lib/_parsing/_task_run_result.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/lib/_parsing/_task_spec.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/lib/_pydantic.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/lib/_time.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/py.typed +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/resources/__init__.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/resources/beta/__init__.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/resources/beta/api.md +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/resources/beta/beta.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/resources/beta/findall.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/resources/beta/memory.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/resources/task_group.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/__init__.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/advanced_extract_settings_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/auto_schema.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/auto_schema_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/__init__.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_candidate.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_candidate_match_status_event.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_candidate_metrics.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_create_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_enrich_input.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_enrich_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_entity_search_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_entity_search_response.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_events_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_events_response.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_extend_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_ingest_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_memory_result.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_run.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_run_result.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_run_status.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_run_status_event.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_schema.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/findall_schema_updated_event.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/match_condition.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/match_condition_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/memory_clear_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/memory_evict_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/memory_retrieve_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/memory_retrieve_response.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/monitor_memory_event.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/monitor_memory_result.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/parallel_beta_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/beta/task_memory_result.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/citation.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/client_extract_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/client_search_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/error_event.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/excerpt_settings_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/extract_error.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/extract_response.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/extract_result.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/fetch_policy_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/field_basis.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/full_content_settings_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/json_schema.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/json_schema_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/mcp_server.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/mcp_server_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/mcp_tool_call.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_completion_event.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_create_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_error_event.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_event_stream_event.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_event_stream_response_settings.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_event_stream_settings_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_events_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_list_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_snapshot_event.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_snapshot_output.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_snapshot_response_settings.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_snapshot_settings_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_webhook.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/monitor_webhook_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/paginated_monitor_events.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/paginated_monitor_response.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/parsed_task_run_result.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/search_result.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/shared/__init__.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/shared/error_object.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/shared/error_response.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/shared/warning.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/shared_params/__init__.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_advanced_settings.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_advanced_settings_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_group.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_group_add_runs_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_group_create_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_group_events_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_group_events_response.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_group_get_runs_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_group_get_runs_response.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_group_run_response.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_group_status.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_group_status_event.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_run.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_run_event.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_run_events_response.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_run_json_output.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_run_progress_message_event.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_run_progress_stats_event.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_run_result.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_run_result_params.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_run_source_stats.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_run_text_output.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_spec.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/task_spec_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/text_schema.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/text_schema_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/usage_item.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/web_search_result.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/webhook.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/src/parallel/types/webhook_param.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/__init__.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/api_resources/__init__.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/api_resources/beta/__init__.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/api_resources/beta/test_findall.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/api_resources/beta/test_memory.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/conftest.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/sample_file.txt +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/test_client.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/test_extract_files.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/test_files.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/test_models.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/test_qs.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/test_required_args.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/test_response.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/test_streaming.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/test_transform.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/test_utils/test_datetime_parse.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/test_utils/test_json.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/test_utils/test_path.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/test_utils/test_proxy.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/test_utils/test_typing.py +0 -0
- {parallel_web-1.3.2 → parallel_web-1.3.4}/tests/utils.py +0 -0
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.3.4](https://github.com/parallel-web/parallel-sdk-python/compare/v1.3.3...v1.3.4) (2026-09-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Chores
|
|
7
|
+
|
|
8
|
+
* sync sdk-openapi.json from shapleyai/code@1072344fee ([fd6d42e](https://github.com/parallel-web/parallel-sdk-python/commit/fd6d42e49e86c078408e90417dcd81e4a936e871))
|
|
9
|
+
|
|
10
|
+
## [1.3.3](https://github.com/parallel-web/parallel-sdk-python/compare/v1.3.2...v1.3.3) (2026-09-01)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Chores
|
|
14
|
+
|
|
15
|
+
* sync sdk-openapi.json from shapleyai/code@f1e874d0d5 ([2b9a0d6](https://github.com/parallel-web/parallel-sdk-python/commit/2b9a0d6c96d644cc8415fa5e3686e5f8d00329ae))
|
|
16
|
+
|
|
3
17
|
## [1.3.2](https://github.com/parallel-web/parallel-sdk-python/compare/v1.3.1...v1.3.2) (2026-08-27)
|
|
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.4
|
|
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
|
|
@@ -182,6 +182,7 @@ class MonitorResource(SyncAPIResource):
|
|
|
182
182
|
*,
|
|
183
183
|
frequency: Optional[str] | Omit = omit,
|
|
184
184
|
metadata: Optional[Dict[str, str]] | Omit = omit,
|
|
185
|
+
processor: Optional[Literal["lite", "base"]] | Omit = omit,
|
|
185
186
|
settings: Optional[UpdateMonitorEventStreamSettingsParam] | Omit = omit,
|
|
186
187
|
type: Optional[Literal["event_stream", "snapshot"]] | Omit = omit,
|
|
187
188
|
webhook: Optional[MonitorWebhookParam] | Omit = omit,
|
|
@@ -195,23 +196,31 @@ class MonitorResource(SyncAPIResource):
|
|
|
195
196
|
"""
|
|
196
197
|
Update a monitor.
|
|
197
198
|
|
|
198
|
-
Only fields explicitly included in the request body are changed. Pass `null`
|
|
199
|
-
`webhook` or `
|
|
200
|
-
|
|
201
|
-
|
|
199
|
+
Only fields explicitly included in the request body are changed. Pass `null` to
|
|
200
|
+
clear `webhook`, `metadata`, or `settings.advanced_settings`; every other field
|
|
201
|
+
rejects `null`, so omit it to leave it unchanged. Pass `type` and `settings` to
|
|
202
|
+
update type-specific settings on an `event_stream` monitor. Pass `processor` to
|
|
203
|
+
change the processor used by subsequent monitor runs. At least one field must be
|
|
204
|
+
provided. Cancelled monitors cannot be updated.
|
|
202
205
|
|
|
203
206
|
Args:
|
|
204
207
|
frequency: Frequency of the monitor. Format: '<number><unit>' where unit is 'h' (hours),
|
|
205
|
-
'd' (days), or 'w' (weeks). Must be between 1h and 30d (inclusive).
|
|
208
|
+
'd' (days), or 'w' (weeks). Must be between 1h and 30d (inclusive). Omit to keep
|
|
209
|
+
the current frequency; `null` is rejected.
|
|
206
210
|
|
|
207
211
|
metadata: User-provided metadata stored with the monitor and echoed back in webhook
|
|
208
212
|
notifications and GET responses, so you can map events to objects in your
|
|
209
213
|
application. Keys: max 16 chars; values: max 512 chars.
|
|
210
214
|
|
|
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.
|
|
218
|
+
|
|
211
219
|
settings: Type-specific update settings for an `event_stream` monitor.
|
|
212
220
|
|
|
213
221
|
type: Type of the monitor being updated. Required when `settings` is provided; must be
|
|
214
222
|
`event_stream` (snapshot monitors have no updatable type-specific settings).
|
|
223
|
+
Omit when `settings` is not provided; `null` is rejected.
|
|
215
224
|
|
|
216
225
|
webhook: Webhook configuration for a monitor.
|
|
217
226
|
|
|
@@ -231,6 +240,7 @@ class MonitorResource(SyncAPIResource):
|
|
|
231
240
|
{
|
|
232
241
|
"frequency": frequency,
|
|
233
242
|
"metadata": metadata,
|
|
243
|
+
"processor": processor,
|
|
234
244
|
"settings": settings,
|
|
235
245
|
"type": type,
|
|
236
246
|
"webhook": webhook,
|
|
@@ -599,6 +609,7 @@ class AsyncMonitorResource(AsyncAPIResource):
|
|
|
599
609
|
*,
|
|
600
610
|
frequency: Optional[str] | Omit = omit,
|
|
601
611
|
metadata: Optional[Dict[str, str]] | Omit = omit,
|
|
612
|
+
processor: Optional[Literal["lite", "base"]] | Omit = omit,
|
|
602
613
|
settings: Optional[UpdateMonitorEventStreamSettingsParam] | Omit = omit,
|
|
603
614
|
type: Optional[Literal["event_stream", "snapshot"]] | Omit = omit,
|
|
604
615
|
webhook: Optional[MonitorWebhookParam] | Omit = omit,
|
|
@@ -612,23 +623,31 @@ class AsyncMonitorResource(AsyncAPIResource):
|
|
|
612
623
|
"""
|
|
613
624
|
Update a monitor.
|
|
614
625
|
|
|
615
|
-
Only fields explicitly included in the request body are changed. Pass `null`
|
|
616
|
-
`webhook` or `
|
|
617
|
-
|
|
618
|
-
|
|
626
|
+
Only fields explicitly included in the request body are changed. Pass `null` to
|
|
627
|
+
clear `webhook`, `metadata`, or `settings.advanced_settings`; every other field
|
|
628
|
+
rejects `null`, so omit it to leave it unchanged. Pass `type` and `settings` to
|
|
629
|
+
update type-specific settings on an `event_stream` monitor. Pass `processor` to
|
|
630
|
+
change the processor used by subsequent monitor runs. At least one field must be
|
|
631
|
+
provided. Cancelled monitors cannot be updated.
|
|
619
632
|
|
|
620
633
|
Args:
|
|
621
634
|
frequency: Frequency of the monitor. Format: '<number><unit>' where unit is 'h' (hours),
|
|
622
|
-
'd' (days), or 'w' (weeks). Must be between 1h and 30d (inclusive).
|
|
635
|
+
'd' (days), or 'w' (weeks). Must be between 1h and 30d (inclusive). Omit to keep
|
|
636
|
+
the current frequency; `null` is rejected.
|
|
623
637
|
|
|
624
638
|
metadata: User-provided metadata stored with the monitor and echoed back in webhook
|
|
625
639
|
notifications and GET responses, so you can map events to objects in your
|
|
626
640
|
application. Keys: max 16 chars; values: max 512 chars.
|
|
627
641
|
|
|
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.
|
|
645
|
+
|
|
628
646
|
settings: Type-specific update settings for an `event_stream` monitor.
|
|
629
647
|
|
|
630
648
|
type: Type of the monitor being updated. Required when `settings` is provided; must be
|
|
631
649
|
`event_stream` (snapshot monitors have no updatable type-specific settings).
|
|
650
|
+
Omit when `settings` is not provided; `null` is rejected.
|
|
632
651
|
|
|
633
652
|
webhook: Webhook configuration for a monitor.
|
|
634
653
|
|
|
@@ -648,6 +667,7 @@ class AsyncMonitorResource(AsyncAPIResource):
|
|
|
648
667
|
{
|
|
649
668
|
"frequency": frequency,
|
|
650
669
|
"metadata": metadata,
|
|
670
|
+
"processor": processor,
|
|
651
671
|
"settings": settings,
|
|
652
672
|
"type": type,
|
|
653
673
|
"webhook": webhook,
|
|
@@ -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.2 → parallel_web-1.3.4}/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.2 → parallel_web-1.3.4}/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
|
"""
|
|
@@ -16,7 +16,8 @@ class MonitorUpdateParams(TypedDict, total=False):
|
|
|
16
16
|
"""Frequency of the monitor.
|
|
17
17
|
|
|
18
18
|
Format: '<number><unit>' where unit is 'h' (hours), 'd' (days), or 'w' (weeks).
|
|
19
|
-
Must be between 1h and 30d (inclusive).
|
|
19
|
+
Must be between 1h and 30d (inclusive). Omit to keep the current frequency;
|
|
20
|
+
`null` is rejected.
|
|
20
21
|
"""
|
|
21
22
|
|
|
22
23
|
metadata: Optional[Dict[str, str]]
|
|
@@ -26,6 +27,13 @@ class MonitorUpdateParams(TypedDict, total=False):
|
|
|
26
27
|
application. Keys: max 16 chars; values: max 512 chars.
|
|
27
28
|
"""
|
|
28
29
|
|
|
30
|
+
processor: Optional[Literal["lite", "base"]]
|
|
31
|
+
"""Processor to use for subsequent monitor runs.
|
|
32
|
+
|
|
33
|
+
`lite` is faster and cheaper; `base` performs more thorough analysis at higher
|
|
34
|
+
cost and latency. Omit to keep the current processor; `null` is rejected.
|
|
35
|
+
"""
|
|
36
|
+
|
|
29
37
|
settings: Optional[UpdateMonitorEventStreamSettingsParam]
|
|
30
38
|
"""Type-specific update settings for an `event_stream` monitor."""
|
|
31
39
|
|
|
@@ -33,7 +41,8 @@ class MonitorUpdateParams(TypedDict, total=False):
|
|
|
33
41
|
"""Type of the monitor being updated.
|
|
34
42
|
|
|
35
43
|
Required when `settings` is provided; must be `event_stream` (snapshot monitors
|
|
36
|
-
have no updatable type-specific settings).
|
|
44
|
+
have no updatable type-specific settings). Omit when `settings` is not provided;
|
|
45
|
+
`null` is rejected.
|
|
37
46
|
"""
|
|
38
47
|
|
|
39
48
|
webhook: Optional[MonitorWebhookParam]
|
|
@@ -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
|
+
"""
|
|
@@ -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]
|
|
@@ -21,5 +21,6 @@ class UpdateMonitorEventStreamSettingsParam(TypedDict, total=False):
|
|
|
21
21
|
|
|
22
22
|
Use this for minor updates to prompts and instructions only. Major changes to
|
|
23
23
|
the query may lead to unexpected results in change detection, as the monitor
|
|
24
|
-
compares new results with what was previously seen.
|
|
24
|
+
compares new results with what was previously seen. Omit to keep the current
|
|
25
|
+
query; `null` is rejected.
|
|
25
26
|
"""
|
|
@@ -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,
|
|
@@ -152,13 +152,14 @@ class TestMonitor:
|
|
|
152
152
|
"slack_thread_id": "1234567890.123456",
|
|
153
153
|
"user_id": "U123ABC",
|
|
154
154
|
},
|
|
155
|
+
processor="lite",
|
|
155
156
|
settings={
|
|
156
157
|
"advanced_settings": {
|
|
157
158
|
"location": "us",
|
|
158
159
|
"source_policy": {
|
|
159
160
|
"after_date": parse_date("2024-01-01"),
|
|
160
|
-
"exclude_domains": ["reddit.com", "
|
|
161
|
-
"include_domains": ["wikipedia.org", "
|
|
161
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
162
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
162
163
|
},
|
|
163
164
|
},
|
|
164
165
|
"query": "Extract recent news about AI",
|
|
@@ -387,8 +388,8 @@ class TestAsyncMonitor:
|
|
|
387
388
|
"location": "us",
|
|
388
389
|
"source_policy": {
|
|
389
390
|
"after_date": parse_date("2024-01-01"),
|
|
390
|
-
"exclude_domains": ["reddit.com", "
|
|
391
|
-
"include_domains": ["wikipedia.org", "
|
|
391
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
392
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
392
393
|
},
|
|
393
394
|
},
|
|
394
395
|
"include_backfill": True,
|
|
@@ -498,13 +499,14 @@ class TestAsyncMonitor:
|
|
|
498
499
|
"slack_thread_id": "1234567890.123456",
|
|
499
500
|
"user_id": "U123ABC",
|
|
500
501
|
},
|
|
502
|
+
processor="lite",
|
|
501
503
|
settings={
|
|
502
504
|
"advanced_settings": {
|
|
503
505
|
"location": "us",
|
|
504
506
|
"source_policy": {
|
|
505
507
|
"after_date": parse_date("2024-01-01"),
|
|
506
|
-
"exclude_domains": ["reddit.com", "
|
|
507
|
-
"include_domains": ["wikipedia.org", "
|
|
508
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
509
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
508
510
|
},
|
|
509
511
|
},
|
|
510
512
|
"query": "Extract recent news about AI",
|
|
@@ -129,8 +129,8 @@ class TestTaskGroup:
|
|
|
129
129
|
"previous_interaction_id": "previous_interaction_id",
|
|
130
130
|
"source_policy": {
|
|
131
131
|
"after_date": parse_date("2024-01-01"),
|
|
132
|
-
"exclude_domains": ["reddit.com", "
|
|
133
|
-
"include_domains": ["wikipedia.org", "
|
|
132
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
133
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
134
134
|
},
|
|
135
135
|
"task_spec": {
|
|
136
136
|
"output_schema": {
|
|
@@ -471,8 +471,8 @@ class TestAsyncTaskGroup:
|
|
|
471
471
|
"previous_interaction_id": "previous_interaction_id",
|
|
472
472
|
"source_policy": {
|
|
473
473
|
"after_date": parse_date("2024-01-01"),
|
|
474
|
-
"exclude_domains": ["reddit.com", "
|
|
475
|
-
"include_domains": ["wikipedia.org", "
|
|
474
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
475
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
476
476
|
},
|
|
477
477
|
"task_spec": {
|
|
478
478
|
"output_schema": {
|
|
@@ -51,8 +51,8 @@ class TestTaskRun:
|
|
|
51
51
|
previous_interaction_id="previous_interaction_id",
|
|
52
52
|
source_policy={
|
|
53
53
|
"after_date": parse_date("2024-01-01"),
|
|
54
|
-
"exclude_domains": ["reddit.com", "
|
|
55
|
-
"include_domains": ["wikipedia.org", "
|
|
54
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
55
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
56
56
|
},
|
|
57
57
|
task_spec={
|
|
58
58
|
"output_schema": {
|
|
@@ -295,8 +295,8 @@ class TestAsyncTaskRun:
|
|
|
295
295
|
previous_interaction_id="previous_interaction_id",
|
|
296
296
|
source_policy={
|
|
297
297
|
"after_date": parse_date("2024-01-01"),
|
|
298
|
-
"exclude_domains": ["reddit.com", "
|
|
299
|
-
"include_domains": ["wikipedia.org", "
|
|
298
|
+
"exclude_domains": ["reddit.com", "youtube.com/shorts", ".ai"],
|
|
299
|
+
"include_domains": ["wikipedia.org", "docs.python.org/3", ".edu"],
|
|
300
300
|
},
|
|
301
301
|
task_spec={
|
|
302
302
|
"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
|
-
"""
|
|
@@ -1,44 +0,0 @@
|
|
|
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
|
-
This policy governs which sources are allowed/disallowed in results.
|
|
19
|
-
"""
|
|
20
|
-
|
|
21
|
-
after_date: Annotated[Union[str, date, None], PropertyInfo(format="iso8601")]
|
|
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: SequenceNotStr[str]
|
|
29
|
-
"""List of domains to exclude from results.
|
|
30
|
-
|
|
31
|
-
If specified, sources from these domains will be excluded. Accepts plain domains
|
|
32
|
-
(e.g., example.com, subdomain.example.gov) or bare domain extension starting
|
|
33
|
-
with a period (e.g., .gov, .edu, .co.uk). The combined number of domains in
|
|
34
|
-
include_domains and exclude_domains cannot exceed 200.
|
|
35
|
-
"""
|
|
36
|
-
|
|
37
|
-
include_domains: SequenceNotStr[str]
|
|
38
|
-
"""List of domains to restrict the results to.
|
|
39
|
-
|
|
40
|
-
If specified, only sources from these domains will be included. Accepts plain
|
|
41
|
-
domains (e.g., example.com, subdomain.example.gov) or bare domain extension
|
|
42
|
-
starting with a period (e.g., .gov, .edu, .co.uk). The combined number of
|
|
43
|
-
domains in include_domains and exclude_domains cannot exceed 200.
|
|
44
|
-
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|