nimble_python 0.21.0__tar.gz → 0.23.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nimble_python-0.23.0/.release-please-manifest.json +3 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/CHANGELOG.md +22 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/PKG-INFO +1 -1
- {nimble_python-0.21.0 → nimble_python-0.23.0}/pyproject.toml +1 -1
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_client.py +44 -4
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_version.py +1 -1
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/agent.py +10 -10
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/jobs/jobs.py +48 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/task_agent/runs.py +53 -21
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/task_agent/task_agent.py +72 -38
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/task_agent/templates.py +17 -12
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/agent_generate_params.py +10 -10
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/agent_run_batch_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/batch_get_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/client_extract_async_params.py +16 -2
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/client_extract_batch_params.py +40 -6
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/client_extract_params.py +16 -2
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/crawl_run_params.py +16 -2
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/extract_async_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/extract_batch_response.py +7 -2
- nimble_python-0.23.0/src/nimble_python/types/job_create_params.py +73 -0
- nimble_python-0.23.0/src/nimble_python/types/job_create_response.py +93 -0
- nimble_python-0.23.0/src/nimble_python/types/job_get_response.py +93 -0
- nimble_python-0.23.0/src/nimble_python/types/job_list_response.py +109 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/job_run_response.py +11 -0
- nimble_python-0.23.0/src/nimble_python/types/job_update_params.py +67 -0
- nimble_python-0.23.0/src/nimble_python/types/job_update_response.py +93 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/jobs/run_cancel_response.py +4 -0
- nimble_python-0.23.0/src/nimble_python/types/jobs/run_get_response.py +101 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/jobs/run_list_response.py +17 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/jobs/runs/artifact_download_url_response.py +4 -0
- nimble_python-0.23.0/src/nimble_python/types/jobs/runs/artifact_get_response.py +29 -0
- nimble_python-0.23.0/src/nimble_python/types/jobs/runs/artifact_list_response.py +37 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/jobs/runs/artifact_preview_response.py +5 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/media_run_async_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/search_response.py +6 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/serp_run_async_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/serp_run_batch_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared_params/get_cookies_action.py +5 -1
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_agent/run_get_response.py +20 -5
- nimble_python-0.23.0/src/nimble_python/types/task_agent/run_get_result_response.py +382 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_agent/run_list_params.py +5 -0
- nimble_python-0.23.0/src/nimble_python/types/task_agent/run_list_response.py +74 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_agent/template_get_response.py +2 -1
- nimble_python-0.23.0/src/nimble_python/types/task_agent/template_list_params.py +19 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_agent/template_list_response.py +2 -1
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_agent_create_params.py +7 -3
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_agent_create_response.py +9 -5
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_agent_get_response.py +9 -5
- nimble_python-0.23.0/src/nimble_python/types/task_agent_list_params.py +21 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_agent_list_response.py +9 -5
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_agent_run_params.py +9 -1
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_agent_run_response.py +20 -5
- nimble_python-0.23.0/src/nimble_python/types/task_agent_update_params.py +32 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_agent_update_response.py +9 -5
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_get_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_list_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/task_agent/test_runs.py +46 -42
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/task_agent/test_templates.py +6 -6
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/test_agent.py +2 -2
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/test_client.py +72 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/test_crawl.py +18 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/test_task_agent.py +48 -50
- nimble_python-0.21.0/.release-please-manifest.json +0 -3
- nimble_python-0.21.0/src/nimble_python/types/job_create_params.py +0 -46
- nimble_python-0.21.0/src/nimble_python/types/job_create_response.py +0 -59
- nimble_python-0.21.0/src/nimble_python/types/job_get_response.py +0 -59
- nimble_python-0.21.0/src/nimble_python/types/job_list_response.py +0 -69
- nimble_python-0.21.0/src/nimble_python/types/job_update_params.py +0 -42
- nimble_python-0.21.0/src/nimble_python/types/job_update_response.py +0 -59
- nimble_python-0.21.0/src/nimble_python/types/jobs/run_get_response.py +0 -65
- nimble_python-0.21.0/src/nimble_python/types/jobs/runs/artifact_get_response.py +0 -17
- nimble_python-0.21.0/src/nimble_python/types/jobs/runs/artifact_list_response.py +0 -22
- nimble_python-0.21.0/src/nimble_python/types/task_agent/run_get_result_response.py +0 -188
- nimble_python-0.21.0/src/nimble_python/types/task_agent/run_list_response.py +0 -50
- nimble_python-0.21.0/src/nimble_python/types/task_agent/template_list_params.py +0 -18
- nimble_python-0.21.0/src/nimble_python/types/task_agent_list_params.py +0 -18
- nimble_python-0.21.0/src/nimble_python/types/task_agent_update_params.py +0 -20
- {nimble_python-0.21.0 → nimble_python-0.23.0}/.gitignore +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/CONTRIBUTING.md +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/LICENSE +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/README.md +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/SECURITY.md +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/api.md +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/bin/check-release-environment +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/bin/publish-pypi +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/examples/.keep +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/release-please-config.json +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/requirements-dev.lock +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_base_client.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_compat.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_constants.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_exceptions.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_files.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_models.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_qs.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_resource.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_streaming.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_types.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_utils/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_utils/_compat.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_utils/_datetime_parse.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_utils/_json.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_utils/_logs.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_utils/_path.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_utils/_proxy.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_utils/_reflection.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_utils/_resources_proxy.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_utils/_streams.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_utils/_sync.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_utils/_transform.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_utils/_typing.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/_utils/_utils.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/lib/.keep +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/py.typed +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/batches.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/crawl.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/domain_knowledge.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/fast_serp.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/jobs/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/jobs/runs/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/jobs/runs/artifacts.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/jobs/runs/runs.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/media.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/serp.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/task_agent/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/tasks.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/agent_generate_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/agent_get_generation_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/agent_get_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/agent_list_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/agent_list_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/agent_run_async_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/agent_run_async_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/agent_run_batch_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/agent_run_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/agent_run_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/batch_progress_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/client_map_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/client_search_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/crawl_list_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/crawl_list_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/crawl_run_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/crawl_status_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/crawl_terminate_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/domain_knowledge_get_driver_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/domain_knowledge_get_driver_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/extract_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/fast_serp_run_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/fast_serp_run_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/job_list_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/jobs/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/jobs/run_list_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/jobs/runs/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/map_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/media_run_async_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/media_run_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/media_run_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/serp_run_async_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/serp_run_batch_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/serp_run_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/serp_run_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared/auto_scroll_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared/click_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared/eval_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared/fetch_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared/fill_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared/get_cookies_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared/goto_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared/press_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared/screenshot_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared/scroll_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared/wait_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared/wait_for_element_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared/wait_for_navigation_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared_params/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared_params/auto_scroll_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared_params/click_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared_params/eval_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared_params/fetch_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared_params/fill_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared_params/goto_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared_params/press_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared_params/screenshot_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared_params/scroll_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared_params/wait_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared_params/wait_for_element_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/shared_params/wait_for_navigation_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_agent/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_list_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/types/task_results_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimbleway/lib/.keep +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/jobs/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/jobs/runs/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/jobs/runs/test_artifacts.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/jobs/test_runs.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/task_agent/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/test_batches.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/test_domain_knowledge.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/test_fast_serp.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/test_jobs.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/test_media.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/test_serp.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/api_resources/test_tasks.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/conftest.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/sample_file.txt +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/test_client.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/test_extract_files.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/test_files.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/test_models.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/test_qs.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/test_required_args.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/test_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/test_streaming.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/test_transform.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/test_utils/test_json.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/test_utils/test_path.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/test_utils/test_proxy.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/test_utils/test_typing.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/tests/utils.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.23.0}/uv.lock +0 -0
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.23.0 (2026-07-13)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.22.0...v0.23.0](https://github.com/Nimbleway/nimble-python/compare/v0.22.0...v0.23.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([a1e3f26](https://github.com/Nimbleway/nimble-python/commit/a1e3f264c89f0a534be69714d3af67b73c1b740c))
|
|
10
|
+
* **api:** api update ([082bc09](https://github.com/Nimbleway/nimble-python/commit/082bc099c7c2b53c0df4c6336ea489cdb1a0fe3c))
|
|
11
|
+
|
|
12
|
+
## 0.22.0 (2026-07-07)
|
|
13
|
+
|
|
14
|
+
Full Changelog: [v0.21.0...v0.22.0](https://github.com/Nimbleway/nimble-python/compare/v0.21.0...v0.22.0)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **api:** api update ([b9d8f7e](https://github.com/Nimbleway/nimble-python/commit/b9d8f7e29a43a4a255acb37f2de95b23c26e5d98))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* **types:** avoid type-checker errors on params with additional properties ([8d6acbb](https://github.com/Nimbleway/nimble-python/commit/8d6acbb1583852c2d6be660fa286c4beeb71aa9e))
|
|
24
|
+
|
|
3
25
|
## 0.21.0 (2026-06-22)
|
|
4
26
|
|
|
5
27
|
Full Changelog: [v0.20.0...v0.21.0](https://github.com/Nimbleway/nimble-python/compare/v0.20.0...v0.21.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: nimble_python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.23.0
|
|
4
4
|
Summary: The official Python library for the nimble API
|
|
5
5
|
Project-URL: Homepage, https://github.com/Nimbleway/nimble-python
|
|
6
6
|
Project-URL: Repository, https://github.com/Nimbleway/nimble-python
|
|
@@ -301,6 +301,7 @@ class Nimble(SyncAPIClient):
|
|
|
301
301
|
self,
|
|
302
302
|
*,
|
|
303
303
|
url: str,
|
|
304
|
+
auto_driver_configuration: Dict[str, int] | Omit = omit,
|
|
304
305
|
body: object | Omit = omit,
|
|
305
306
|
browser: client_extract_params.Browser | Omit = omit,
|
|
306
307
|
browser_actions: Iterable[client_extract_params.BrowserAction] | Omit = omit,
|
|
@@ -562,7 +563,10 @@ class Nimble(SyncAPIClient):
|
|
|
562
563
|
]
|
|
563
564
|
| Omit = omit,
|
|
564
565
|
device: Literal["desktop", "mobile", "tablet"] | Omit = omit,
|
|
565
|
-
driver: Literal[
|
|
566
|
+
driver: Literal[
|
|
567
|
+
"auto", "vx6", "vx8", "vx8-pro", "vx10", "vx10-pro", "vx12", "vx12-pro", "media-vx6", "fast-vx6"
|
|
568
|
+
]
|
|
569
|
+
| Omit = omit,
|
|
566
570
|
expected_status_codes: Iterable[int] | Omit = omit,
|
|
567
571
|
formats: List[Literal["html", "markdown", "screenshot", "headers", "links"]] | Omit = omit,
|
|
568
572
|
headers: Dict[str, Union[str, SequenceNotStr[str], None]] | Omit = omit,
|
|
@@ -1191,6 +1195,11 @@ class Nimble(SyncAPIClient):
|
|
|
1191
1195
|
Args:
|
|
1192
1196
|
url: Target URL to scrape
|
|
1193
1197
|
|
|
1198
|
+
auto_driver_configuration: Custom flow for the optimization engine: maps candidate names to the number of
|
|
1199
|
+
attempts to spend on each candidate before advancing (0 skips it). Key order
|
|
1200
|
+
defines the flow order. Providing it opts the request into 'auto' driver
|
|
1201
|
+
selection.
|
|
1202
|
+
|
|
1194
1203
|
body: Request body for POST, PUT, PATCH methods
|
|
1195
1204
|
|
|
1196
1205
|
browser: Browser type to emulate
|
|
@@ -1260,6 +1269,7 @@ class Nimble(SyncAPIClient):
|
|
|
1260
1269
|
body=maybe_transform(
|
|
1261
1270
|
{
|
|
1262
1271
|
"url": url,
|
|
1272
|
+
"auto_driver_configuration": auto_driver_configuration,
|
|
1263
1273
|
"body": body,
|
|
1264
1274
|
"browser": browser,
|
|
1265
1275
|
"browser_actions": browser_actions,
|
|
@@ -1301,6 +1311,7 @@ class Nimble(SyncAPIClient):
|
|
|
1301
1311
|
self,
|
|
1302
1312
|
*,
|
|
1303
1313
|
url: str,
|
|
1314
|
+
auto_driver_configuration: Dict[str, int] | Omit = omit,
|
|
1304
1315
|
body: object | Omit = omit,
|
|
1305
1316
|
browser: client_extract_async_params.Browser | Omit = omit,
|
|
1306
1317
|
browser_actions: Iterable[client_extract_async_params.BrowserAction] | Omit = omit,
|
|
@@ -1563,7 +1574,10 @@ class Nimble(SyncAPIClient):
|
|
|
1563
1574
|
]
|
|
1564
1575
|
| Omit = omit,
|
|
1565
1576
|
device: Literal["desktop", "mobile", "tablet"] | Omit = omit,
|
|
1566
|
-
driver: Literal[
|
|
1577
|
+
driver: Literal[
|
|
1578
|
+
"auto", "vx6", "vx8", "vx8-pro", "vx10", "vx10-pro", "vx12", "vx12-pro", "media-vx6", "fast-vx6"
|
|
1579
|
+
]
|
|
1580
|
+
| Omit = omit,
|
|
1567
1581
|
expected_status_codes: Iterable[int] | Omit = omit,
|
|
1568
1582
|
formats: List[Literal["html", "markdown", "screenshot", "headers", "links"]] | Omit = omit,
|
|
1569
1583
|
headers: Dict[str, Union[str, SequenceNotStr[str], None]] | Omit = omit,
|
|
@@ -2196,6 +2210,11 @@ class Nimble(SyncAPIClient):
|
|
|
2196
2210
|
Args:
|
|
2197
2211
|
url: Target URL to scrape
|
|
2198
2212
|
|
|
2213
|
+
auto_driver_configuration: Custom flow for the optimization engine: maps candidate names to the number of
|
|
2214
|
+
attempts to spend on each candidate before advancing (0 skips it). Key order
|
|
2215
|
+
defines the flow order. Providing it opts the request into 'auto' driver
|
|
2216
|
+
selection.
|
|
2217
|
+
|
|
2199
2218
|
body: Request body for POST, PUT, PATCH methods
|
|
2200
2219
|
|
|
2201
2220
|
browser: Browser type to emulate
|
|
@@ -2275,6 +2294,7 @@ class Nimble(SyncAPIClient):
|
|
|
2275
2294
|
body=maybe_transform(
|
|
2276
2295
|
{
|
|
2277
2296
|
"url": url,
|
|
2297
|
+
"auto_driver_configuration": auto_driver_configuration,
|
|
2278
2298
|
"body": body,
|
|
2279
2299
|
"browser": browser,
|
|
2280
2300
|
"browser_actions": browser_actions,
|
|
@@ -3581,6 +3601,7 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
3581
3601
|
self,
|
|
3582
3602
|
*,
|
|
3583
3603
|
url: str,
|
|
3604
|
+
auto_driver_configuration: Dict[str, int] | Omit = omit,
|
|
3584
3605
|
body: object | Omit = omit,
|
|
3585
3606
|
browser: client_extract_params.Browser | Omit = omit,
|
|
3586
3607
|
browser_actions: Iterable[client_extract_params.BrowserAction] | Omit = omit,
|
|
@@ -3842,7 +3863,10 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
3842
3863
|
]
|
|
3843
3864
|
| Omit = omit,
|
|
3844
3865
|
device: Literal["desktop", "mobile", "tablet"] | Omit = omit,
|
|
3845
|
-
driver: Literal[
|
|
3866
|
+
driver: Literal[
|
|
3867
|
+
"auto", "vx6", "vx8", "vx8-pro", "vx10", "vx10-pro", "vx12", "vx12-pro", "media-vx6", "fast-vx6"
|
|
3868
|
+
]
|
|
3869
|
+
| Omit = omit,
|
|
3846
3870
|
expected_status_codes: Iterable[int] | Omit = omit,
|
|
3847
3871
|
formats: List[Literal["html", "markdown", "screenshot", "headers", "links"]] | Omit = omit,
|
|
3848
3872
|
headers: Dict[str, Union[str, SequenceNotStr[str], None]] | Omit = omit,
|
|
@@ -4471,6 +4495,11 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
4471
4495
|
Args:
|
|
4472
4496
|
url: Target URL to scrape
|
|
4473
4497
|
|
|
4498
|
+
auto_driver_configuration: Custom flow for the optimization engine: maps candidate names to the number of
|
|
4499
|
+
attempts to spend on each candidate before advancing (0 skips it). Key order
|
|
4500
|
+
defines the flow order. Providing it opts the request into 'auto' driver
|
|
4501
|
+
selection.
|
|
4502
|
+
|
|
4474
4503
|
body: Request body for POST, PUT, PATCH methods
|
|
4475
4504
|
|
|
4476
4505
|
browser: Browser type to emulate
|
|
@@ -4540,6 +4569,7 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
4540
4569
|
body=await async_maybe_transform(
|
|
4541
4570
|
{
|
|
4542
4571
|
"url": url,
|
|
4572
|
+
"auto_driver_configuration": auto_driver_configuration,
|
|
4543
4573
|
"body": body,
|
|
4544
4574
|
"browser": browser,
|
|
4545
4575
|
"browser_actions": browser_actions,
|
|
@@ -4581,6 +4611,7 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
4581
4611
|
self,
|
|
4582
4612
|
*,
|
|
4583
4613
|
url: str,
|
|
4614
|
+
auto_driver_configuration: Dict[str, int] | Omit = omit,
|
|
4584
4615
|
body: object | Omit = omit,
|
|
4585
4616
|
browser: client_extract_async_params.Browser | Omit = omit,
|
|
4586
4617
|
browser_actions: Iterable[client_extract_async_params.BrowserAction] | Omit = omit,
|
|
@@ -4843,7 +4874,10 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
4843
4874
|
]
|
|
4844
4875
|
| Omit = omit,
|
|
4845
4876
|
device: Literal["desktop", "mobile", "tablet"] | Omit = omit,
|
|
4846
|
-
driver: Literal[
|
|
4877
|
+
driver: Literal[
|
|
4878
|
+
"auto", "vx6", "vx8", "vx8-pro", "vx10", "vx10-pro", "vx12", "vx12-pro", "media-vx6", "fast-vx6"
|
|
4879
|
+
]
|
|
4880
|
+
| Omit = omit,
|
|
4847
4881
|
expected_status_codes: Iterable[int] | Omit = omit,
|
|
4848
4882
|
formats: List[Literal["html", "markdown", "screenshot", "headers", "links"]] | Omit = omit,
|
|
4849
4883
|
headers: Dict[str, Union[str, SequenceNotStr[str], None]] | Omit = omit,
|
|
@@ -5476,6 +5510,11 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
5476
5510
|
Args:
|
|
5477
5511
|
url: Target URL to scrape
|
|
5478
5512
|
|
|
5513
|
+
auto_driver_configuration: Custom flow for the optimization engine: maps candidate names to the number of
|
|
5514
|
+
attempts to spend on each candidate before advancing (0 skips it). Key order
|
|
5515
|
+
defines the flow order. Providing it opts the request into 'auto' driver
|
|
5516
|
+
selection.
|
|
5517
|
+
|
|
5479
5518
|
body: Request body for POST, PUT, PATCH methods
|
|
5480
5519
|
|
|
5481
5520
|
browser: Browser type to emulate
|
|
@@ -5555,6 +5594,7 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
5555
5594
|
body=await async_maybe_transform(
|
|
5556
5595
|
{
|
|
5557
5596
|
"url": url,
|
|
5597
|
+
"auto_driver_configuration": auto_driver_configuration,
|
|
5558
5598
|
"body": body,
|
|
5559
5599
|
"browser": browser,
|
|
5560
5600
|
"browser_actions": browser_actions,
|
|
@@ -120,9 +120,9 @@ class AgentResource(SyncAPIResource):
|
|
|
120
120
|
*,
|
|
121
121
|
prompt: str,
|
|
122
122
|
url: str,
|
|
123
|
-
agent_name: Optional[str] | Omit = omit,
|
|
124
123
|
input_schema: Dict[str, object] | Omit = omit,
|
|
125
|
-
metadata: Optional[agent_generate_params.
|
|
124
|
+
metadata: Optional[agent_generate_params.CrustCreateAgentGenerationRequestMetadata] | Omit = omit,
|
|
125
|
+
name: Optional[str] | Omit = omit,
|
|
126
126
|
output_schema: Dict[str, object] | Omit = omit,
|
|
127
127
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
128
128
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -178,9 +178,9 @@ class AgentResource(SyncAPIResource):
|
|
|
178
178
|
*,
|
|
179
179
|
prompt: str,
|
|
180
180
|
url: str | Omit = omit,
|
|
181
|
-
agent_name: Optional[str] | Omit = omit,
|
|
182
181
|
input_schema: Dict[str, object] | Omit = omit,
|
|
183
|
-
metadata: Optional[agent_generate_params.
|
|
182
|
+
metadata: Optional[agent_generate_params.CrustCreateAgentGenerationRequestMetadata] | Omit = omit,
|
|
183
|
+
name: Optional[str] | Omit = omit,
|
|
184
184
|
output_schema: Dict[str, object] | Omit = omit,
|
|
185
185
|
from_agent: str | Omit = omit,
|
|
186
186
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -196,9 +196,9 @@ class AgentResource(SyncAPIResource):
|
|
|
196
196
|
{
|
|
197
197
|
"prompt": prompt,
|
|
198
198
|
"url": url,
|
|
199
|
-
"agent_name": agent_name,
|
|
200
199
|
"input_schema": input_schema,
|
|
201
200
|
"metadata": metadata,
|
|
201
|
+
"name": name,
|
|
202
202
|
"output_schema": output_schema,
|
|
203
203
|
"from_agent": from_agent,
|
|
204
204
|
},
|
|
@@ -511,9 +511,9 @@ class AsyncAgentResource(AsyncAPIResource):
|
|
|
511
511
|
*,
|
|
512
512
|
prompt: str,
|
|
513
513
|
url: str,
|
|
514
|
-
agent_name: Optional[str] | Omit = omit,
|
|
515
514
|
input_schema: Dict[str, object] | Omit = omit,
|
|
516
|
-
metadata: Optional[agent_generate_params.
|
|
515
|
+
metadata: Optional[agent_generate_params.CrustCreateAgentGenerationRequestMetadata] | Omit = omit,
|
|
516
|
+
name: Optional[str] | Omit = omit,
|
|
517
517
|
output_schema: Dict[str, object] | Omit = omit,
|
|
518
518
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
519
519
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -569,9 +569,9 @@ class AsyncAgentResource(AsyncAPIResource):
|
|
|
569
569
|
*,
|
|
570
570
|
prompt: str,
|
|
571
571
|
url: str | Omit = omit,
|
|
572
|
-
agent_name: Optional[str] | Omit = omit,
|
|
573
572
|
input_schema: Dict[str, object] | Omit = omit,
|
|
574
|
-
metadata: Optional[agent_generate_params.
|
|
573
|
+
metadata: Optional[agent_generate_params.CrustCreateAgentGenerationRequestMetadata] | Omit = omit,
|
|
574
|
+
name: Optional[str] | Omit = omit,
|
|
575
575
|
output_schema: Dict[str, object] | Omit = omit,
|
|
576
576
|
from_agent: str | Omit = omit,
|
|
577
577
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -587,9 +587,9 @@ class AsyncAgentResource(AsyncAPIResource):
|
|
|
587
587
|
{
|
|
588
588
|
"prompt": prompt,
|
|
589
589
|
"url": url,
|
|
590
|
-
"agent_name": agent_name,
|
|
591
590
|
"input_schema": input_schema,
|
|
592
591
|
"metadata": metadata,
|
|
592
|
+
"name": name,
|
|
593
593
|
"output_schema": output_schema,
|
|
594
594
|
"from_agent": from_agent,
|
|
595
595
|
},
|
|
@@ -80,6 +80,20 @@ class JobsResource(SyncAPIResource):
|
|
|
80
80
|
Create Job
|
|
81
81
|
|
|
82
82
|
Args:
|
|
83
|
+
agent_name: Name of the agent to run.
|
|
84
|
+
|
|
85
|
+
name: Job name.
|
|
86
|
+
|
|
87
|
+
description: Free-text description of the job.
|
|
88
|
+
|
|
89
|
+
destination: Where a job writes its results.
|
|
90
|
+
|
|
91
|
+
display_name: Human-friendly job name shown in the UI.
|
|
92
|
+
|
|
93
|
+
inputs: Configuration for the input data a job processes.
|
|
94
|
+
|
|
95
|
+
schedule: Cron-based schedule controlling when a job runs automatically.
|
|
96
|
+
|
|
83
97
|
extra_headers: Send extra headers
|
|
84
98
|
|
|
85
99
|
extra_query: Add additional query parameters to the request
|
|
@@ -128,6 +142,16 @@ class JobsResource(SyncAPIResource):
|
|
|
128
142
|
Update Job
|
|
129
143
|
|
|
130
144
|
Args:
|
|
145
|
+
description: New description.
|
|
146
|
+
|
|
147
|
+
destination: Where a job writes its results.
|
|
148
|
+
|
|
149
|
+
display_name: New display name.
|
|
150
|
+
|
|
151
|
+
inputs: Configuration for the input data a job processes.
|
|
152
|
+
|
|
153
|
+
schedule: Cron-based schedule controlling when a job runs automatically.
|
|
154
|
+
|
|
131
155
|
extra_headers: Send extra headers
|
|
132
156
|
|
|
133
157
|
extra_query: Add additional query parameters to the request
|
|
@@ -352,6 +376,20 @@ class AsyncJobsResource(AsyncAPIResource):
|
|
|
352
376
|
Create Job
|
|
353
377
|
|
|
354
378
|
Args:
|
|
379
|
+
agent_name: Name of the agent to run.
|
|
380
|
+
|
|
381
|
+
name: Job name.
|
|
382
|
+
|
|
383
|
+
description: Free-text description of the job.
|
|
384
|
+
|
|
385
|
+
destination: Where a job writes its results.
|
|
386
|
+
|
|
387
|
+
display_name: Human-friendly job name shown in the UI.
|
|
388
|
+
|
|
389
|
+
inputs: Configuration for the input data a job processes.
|
|
390
|
+
|
|
391
|
+
schedule: Cron-based schedule controlling when a job runs automatically.
|
|
392
|
+
|
|
355
393
|
extra_headers: Send extra headers
|
|
356
394
|
|
|
357
395
|
extra_query: Add additional query parameters to the request
|
|
@@ -400,6 +438,16 @@ class AsyncJobsResource(AsyncAPIResource):
|
|
|
400
438
|
Update Job
|
|
401
439
|
|
|
402
440
|
Args:
|
|
441
|
+
description: New description.
|
|
442
|
+
|
|
443
|
+
destination: Where a job writes its results.
|
|
444
|
+
|
|
445
|
+
display_name: New display name.
|
|
446
|
+
|
|
447
|
+
inputs: Configuration for the input data a job processes.
|
|
448
|
+
|
|
449
|
+
schedule: Cron-based schedule controlling when a job runs automatically.
|
|
450
|
+
|
|
403
451
|
extra_headers: Send extra headers
|
|
404
452
|
|
|
405
453
|
extra_query: Add additional query parameters to the request
|
{nimble_python-0.21.0 → nimble_python-0.23.0}/src/nimble_python/resources/task_agent/runs.py
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Any, cast
|
|
5
|
+
from typing import Any, Optional, cast
|
|
6
6
|
|
|
7
7
|
import httpx
|
|
8
8
|
|
|
@@ -51,6 +51,8 @@ class RunsResource(SyncAPIResource):
|
|
|
51
51
|
*,
|
|
52
52
|
limit: int | Omit = omit,
|
|
53
53
|
offset: int | Omit = omit,
|
|
54
|
+
q: Optional[str] | Omit = omit,
|
|
55
|
+
status: Optional[str] | Omit = omit,
|
|
54
56
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
55
57
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
56
58
|
extra_headers: Headers | None = None,
|
|
@@ -59,7 +61,10 @@ class RunsResource(SyncAPIResource):
|
|
|
59
61
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
60
62
|
) -> RunListResponse:
|
|
61
63
|
"""
|
|
62
|
-
List
|
|
64
|
+
List runs for this instance.
|
|
65
|
+
|
|
66
|
+
`status` accepts a lowercase `TaskRunStatusValue` (e.g. "completed") or a
|
|
67
|
+
comma-separated list of them (e.g. "queued,running").
|
|
63
68
|
|
|
64
69
|
Args:
|
|
65
70
|
extra_headers: Send extra headers
|
|
@@ -83,6 +88,8 @@ class RunsResource(SyncAPIResource):
|
|
|
83
88
|
{
|
|
84
89
|
"limit": limit,
|
|
85
90
|
"offset": offset,
|
|
91
|
+
"q": q,
|
|
92
|
+
"status": status,
|
|
86
93
|
},
|
|
87
94
|
run_list_params.RunListParams,
|
|
88
95
|
),
|
|
@@ -105,6 +112,9 @@ class RunsResource(SyncAPIResource):
|
|
|
105
112
|
"""
|
|
106
113
|
Cancel an in-progress or queued run.
|
|
107
114
|
|
|
115
|
+
Verb is POST + `/cancel` action segment per the AGENTS-1666 spec (replaces the
|
|
116
|
+
old `DELETE …/runs/{run_id}`).
|
|
117
|
+
|
|
108
118
|
Args:
|
|
109
119
|
extra_headers: Send extra headers
|
|
110
120
|
|
|
@@ -139,9 +149,12 @@ class RunsResource(SyncAPIResource):
|
|
|
139
149
|
extra_body: Body | None = None,
|
|
140
150
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
141
151
|
) -> RunGetResponse:
|
|
142
|
-
"""
|
|
152
|
+
"""
|
|
153
|
+
Fetch a run by id, scoped to the instance.
|
|
143
154
|
|
|
144
|
-
|
|
155
|
+
A run resolves only when (run_id, agent_id) match — otherwise 404. This means a
|
|
156
|
+
stale URL with a swapped agent_id won't leak runs across instances even if the
|
|
157
|
+
run_id is real.
|
|
145
158
|
|
|
146
159
|
Args:
|
|
147
160
|
extra_headers: Send extra headers
|
|
@@ -176,10 +189,15 @@ class RunsResource(SyncAPIResource):
|
|
|
176
189
|
extra_body: Body | None = None,
|
|
177
190
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
178
191
|
) -> RunGetResultResponse:
|
|
179
|
-
"""
|
|
192
|
+
"""
|
|
193
|
+
Fetch the result for a terminal run on this instance.
|
|
180
194
|
|
|
181
|
-
|
|
182
|
-
|
|
195
|
+
Mirrors the previous flat `GET /tasks/runs/:run_id/result` semantics:
|
|
196
|
+
|
|
197
|
+
- 404 when the run doesn't belong to the agent.
|
|
198
|
+
- 408 when the run is still active.
|
|
199
|
+
- 422 (with TaskRunFailedResult body) when the run failed or was cancelled.
|
|
200
|
+
- 200 (with TaskRunResult body) on success.
|
|
183
201
|
|
|
184
202
|
Args:
|
|
185
203
|
extra_headers: Send extra headers
|
|
@@ -219,10 +237,8 @@ class RunsResource(SyncAPIResource):
|
|
|
219
237
|
extra_body: Body | None = None,
|
|
220
238
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
221
239
|
) -> object:
|
|
222
|
-
"""
|
|
223
|
-
|
|
224
|
-
The run must
|
|
225
|
-
have been created with `enable_events=true`.
|
|
240
|
+
"""
|
|
241
|
+
SSE stream of real-time progress events for a run on this instance.
|
|
226
242
|
|
|
227
243
|
Args:
|
|
228
244
|
extra_headers: Send extra headers
|
|
@@ -272,6 +288,8 @@ class AsyncRunsResource(AsyncAPIResource):
|
|
|
272
288
|
*,
|
|
273
289
|
limit: int | Omit = omit,
|
|
274
290
|
offset: int | Omit = omit,
|
|
291
|
+
q: Optional[str] | Omit = omit,
|
|
292
|
+
status: Optional[str] | Omit = omit,
|
|
275
293
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
276
294
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
277
295
|
extra_headers: Headers | None = None,
|
|
@@ -280,7 +298,10 @@ class AsyncRunsResource(AsyncAPIResource):
|
|
|
280
298
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
281
299
|
) -> RunListResponse:
|
|
282
300
|
"""
|
|
283
|
-
List
|
|
301
|
+
List runs for this instance.
|
|
302
|
+
|
|
303
|
+
`status` accepts a lowercase `TaskRunStatusValue` (e.g. "completed") or a
|
|
304
|
+
comma-separated list of them (e.g. "queued,running").
|
|
284
305
|
|
|
285
306
|
Args:
|
|
286
307
|
extra_headers: Send extra headers
|
|
@@ -304,6 +325,8 @@ class AsyncRunsResource(AsyncAPIResource):
|
|
|
304
325
|
{
|
|
305
326
|
"limit": limit,
|
|
306
327
|
"offset": offset,
|
|
328
|
+
"q": q,
|
|
329
|
+
"status": status,
|
|
307
330
|
},
|
|
308
331
|
run_list_params.RunListParams,
|
|
309
332
|
),
|
|
@@ -326,6 +349,9 @@ class AsyncRunsResource(AsyncAPIResource):
|
|
|
326
349
|
"""
|
|
327
350
|
Cancel an in-progress or queued run.
|
|
328
351
|
|
|
352
|
+
Verb is POST + `/cancel` action segment per the AGENTS-1666 spec (replaces the
|
|
353
|
+
old `DELETE …/runs/{run_id}`).
|
|
354
|
+
|
|
329
355
|
Args:
|
|
330
356
|
extra_headers: Send extra headers
|
|
331
357
|
|
|
@@ -360,9 +386,12 @@ class AsyncRunsResource(AsyncAPIResource):
|
|
|
360
386
|
extra_body: Body | None = None,
|
|
361
387
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
362
388
|
) -> RunGetResponse:
|
|
363
|
-
"""
|
|
389
|
+
"""
|
|
390
|
+
Fetch a run by id, scoped to the instance.
|
|
364
391
|
|
|
365
|
-
|
|
392
|
+
A run resolves only when (run_id, agent_id) match — otherwise 404. This means a
|
|
393
|
+
stale URL with a swapped agent_id won't leak runs across instances even if the
|
|
394
|
+
run_id is real.
|
|
366
395
|
|
|
367
396
|
Args:
|
|
368
397
|
extra_headers: Send extra headers
|
|
@@ -397,10 +426,15 @@ class AsyncRunsResource(AsyncAPIResource):
|
|
|
397
426
|
extra_body: Body | None = None,
|
|
398
427
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
399
428
|
) -> RunGetResultResponse:
|
|
400
|
-
"""
|
|
429
|
+
"""
|
|
430
|
+
Fetch the result for a terminal run on this instance.
|
|
401
431
|
|
|
402
|
-
|
|
403
|
-
|
|
432
|
+
Mirrors the previous flat `GET /tasks/runs/:run_id/result` semantics:
|
|
433
|
+
|
|
434
|
+
- 404 when the run doesn't belong to the agent.
|
|
435
|
+
- 408 when the run is still active.
|
|
436
|
+
- 422 (with TaskRunFailedResult body) when the run failed or was cancelled.
|
|
437
|
+
- 200 (with TaskRunResult body) on success.
|
|
404
438
|
|
|
405
439
|
Args:
|
|
406
440
|
extra_headers: Send extra headers
|
|
@@ -440,10 +474,8 @@ class AsyncRunsResource(AsyncAPIResource):
|
|
|
440
474
|
extra_body: Body | None = None,
|
|
441
475
|
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
442
476
|
) -> object:
|
|
443
|
-
"""
|
|
444
|
-
|
|
445
|
-
The run must
|
|
446
|
-
have been created with `enable_events=true`.
|
|
477
|
+
"""
|
|
478
|
+
SSE stream of real-time progress events for a run on this instance.
|
|
447
479
|
|
|
448
480
|
Args:
|
|
449
481
|
extra_headers: Send extra headers
|