nimble_python 0.21.0__tar.gz → 0.22.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.22.0/.release-please-manifest.json +3 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/CHANGELOG.md +13 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/PKG-INFO +1 -1
- {nimble_python-0.21.0 → nimble_python-0.22.0}/api.md +0 -12
- {nimble_python-0.21.0 → nimble_python-0.22.0}/pyproject.toml +1 -1
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_client.py +45 -42
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_version.py +1 -1
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/__init__.py +0 -14
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/agent.py +6 -6
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/jobs/jobs.py +40 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/__init__.py +0 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/agent_generate_params.py +2 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/agent_run_batch_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/batch_get_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/client_extract_async_params.py +14 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/client_extract_batch_params.py +36 -6
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/client_extract_params.py +14 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/crawl_run_params.py +14 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/extract_async_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/extract_batch_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/job_create_params.py +26 -0
- nimble_python-0.22.0/src/nimble_python/types/job_create_response.py +92 -0
- nimble_python-0.22.0/src/nimble_python/types/job_get_response.py +92 -0
- nimble_python-0.22.0/src/nimble_python/types/job_list_response.py +108 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/job_run_response.py +11 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/job_update_params.py +24 -0
- nimble_python-0.22.0/src/nimble_python/types/job_update_response.py +92 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/jobs/run_cancel_response.py +4 -0
- nimble_python-0.22.0/src/nimble_python/types/jobs/run_get_response.py +101 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/jobs/run_list_response.py +17 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/jobs/runs/artifact_download_url_response.py +4 -0
- nimble_python-0.22.0/src/nimble_python/types/jobs/runs/artifact_get_response.py +28 -0
- nimble_python-0.22.0/src/nimble_python/types/jobs/runs/artifact_list_response.py +36 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/jobs/runs/artifact_preview_response.py +5 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/media_run_async_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/search_response.py +6 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/serp_run_async_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/serp_run_batch_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared_params/get_cookies_action.py +5 -1
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent/run_get_result_response.py +88 -22
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_get_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_list_response.py +7 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/test_agent.py +2 -2
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/test_client.py +64 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/test_crawl.py +16 -0
- nimble_python-0.21.0/.release-please-manifest.json +0 -3
- nimble_python-0.21.0/src/nimble_python/resources/fast_serp.py +0 -293
- nimble_python-0.21.0/src/nimble_python/types/fast_serp_run_params.py +0 -64
- nimble_python-0.21.0/src/nimble_python/types/fast_serp_run_response.py +0 -339
- 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_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/tests/api_resources/test_fast_serp.py +0 -130
- {nimble_python-0.21.0 → nimble_python-0.22.0}/.gitignore +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/CONTRIBUTING.md +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/LICENSE +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/README.md +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/SECURITY.md +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/bin/check-release-environment +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/bin/publish-pypi +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/examples/.keep +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/release-please-config.json +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/requirements-dev.lock +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_base_client.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_compat.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_constants.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_exceptions.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_files.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_models.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_qs.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_resource.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_streaming.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_types.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_utils/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_utils/_compat.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_utils/_datetime_parse.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_utils/_json.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_utils/_logs.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_utils/_path.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_utils/_proxy.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_utils/_reflection.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_utils/_resources_proxy.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_utils/_streams.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_utils/_sync.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_utils/_transform.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_utils/_typing.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/_utils/_utils.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/lib/.keep +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/py.typed +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/batches.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/crawl.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/domain_knowledge.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/jobs/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/jobs/runs/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/jobs/runs/artifacts.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/jobs/runs/runs.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/media.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/serp.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/task_agent/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/task_agent/runs.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/task_agent/task_agent.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/task_agent/templates.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/resources/tasks.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/agent_generate_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/agent_get_generation_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/agent_get_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/agent_list_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/agent_list_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/agent_run_async_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/agent_run_async_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/agent_run_batch_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/agent_run_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/agent_run_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/batch_progress_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/client_map_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/client_search_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/crawl_list_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/crawl_list_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/crawl_run_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/crawl_status_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/crawl_terminate_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/domain_knowledge_get_driver_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/domain_knowledge_get_driver_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/extract_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/job_list_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/jobs/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/jobs/run_list_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/jobs/runs/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/map_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/media_run_async_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/media_run_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/media_run_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/serp_run_async_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/serp_run_batch_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/serp_run_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/serp_run_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared/auto_scroll_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared/click_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared/eval_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared/fetch_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared/fill_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared/get_cookies_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared/goto_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared/press_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared/screenshot_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared/scroll_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared/wait_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared/wait_for_element_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared/wait_for_navigation_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared_params/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared_params/auto_scroll_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared_params/click_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared_params/eval_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared_params/fetch_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared_params/fill_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared_params/goto_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared_params/press_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared_params/screenshot_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared_params/scroll_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared_params/wait_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared_params/wait_for_element_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/shared_params/wait_for_navigation_action.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent/run_get_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent/run_list_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent/run_list_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent/template_get_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent/template_list_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent/template_list_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent_create_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent_create_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent_get_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent_list_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent_list_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent_run_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent_run_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent_update_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_agent_update_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_list_params.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/task_results_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimbleway/lib/.keep +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/jobs/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/jobs/runs/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/jobs/runs/test_artifacts.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/jobs/test_runs.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/task_agent/__init__.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/task_agent/test_runs.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/task_agent/test_templates.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/test_batches.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/test_domain_knowledge.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/test_jobs.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/test_media.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/test_serp.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/test_task_agent.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/api_resources/test_tasks.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/conftest.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/sample_file.txt +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/test_client.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/test_extract_files.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/test_files.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/test_models.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/test_qs.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/test_required_args.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/test_response.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/test_streaming.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/test_transform.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/test_utils/test_json.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/test_utils/test_path.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/test_utils/test_proxy.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/test_utils/test_typing.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/tests/utils.py +0 -0
- {nimble_python-0.21.0 → nimble_python-0.22.0}/uv.lock +0 -0
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.22.0 (2026-07-07)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.21.0...v0.22.0](https://github.com/Nimbleway/nimble-python/compare/v0.21.0...v0.22.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([b9d8f7e](https://github.com/Nimbleway/nimble-python/commit/b9d8f7e29a43a4a255acb37f2de95b23c26e5d98))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **types:** avoid type-checker errors on params with additional properties ([8d6acbb](https://github.com/Nimbleway/nimble-python/commit/8d6acbb1583852c2d6be660fa286c4beeb71aa9e))
|
|
15
|
+
|
|
3
16
|
## 0.21.0 (2026-06-22)
|
|
4
17
|
|
|
5
18
|
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.22.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
|
|
@@ -153,18 +153,6 @@ Methods:
|
|
|
153
153
|
- <code title="post /v1/serp/async">client.serp.<a href="./src/nimble_python/resources/serp.py">run_async</a>(\*\*<a href="src/nimble_python/types/serp_run_async_params.py">params</a>) -> <a href="./src/nimble_python/types/serp_run_async_response.py">SerpRunAsyncResponse</a></code>
|
|
154
154
|
- <code title="post /v1/serp/batch">client.serp.<a href="./src/nimble_python/resources/serp.py">run_batch</a>(\*\*<a href="src/nimble_python/types/serp_run_batch_params.py">params</a>) -> <a href="./src/nimble_python/types/serp_run_batch_response.py">SerpRunBatchResponse</a></code>
|
|
155
155
|
|
|
156
|
-
# FastSerp
|
|
157
|
-
|
|
158
|
-
Types:
|
|
159
|
-
|
|
160
|
-
```python
|
|
161
|
-
from nimble_python.types import FastSerpRunResponse
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
Methods:
|
|
165
|
-
|
|
166
|
-
- <code title="post /v1/fast-serp">client.fast_serp.<a href="./src/nimble_python/resources/fast_serp.py">run</a>(\*\*<a href="src/nimble_python/types/fast_serp_run_params.py">params</a>) -> <a href="./src/nimble_python/types/fast_serp_run_response.py">FastSerpRunResponse</a></code>
|
|
167
|
-
|
|
168
156
|
# TaskAgent
|
|
169
157
|
|
|
170
158
|
Types:
|
|
@@ -61,14 +61,13 @@ from .types.extract_async_response import ExtractAsyncResponse
|
|
|
61
61
|
from .types.extract_batch_response import ExtractBatchResponse
|
|
62
62
|
|
|
63
63
|
if TYPE_CHECKING:
|
|
64
|
-
from .resources import jobs, serp, agent, crawl, media, tasks, batches,
|
|
64
|
+
from .resources import jobs, serp, agent, crawl, media, tasks, batches, task_agent, domain_knowledge
|
|
65
65
|
from .resources.serp import SerpResource, AsyncSerpResource
|
|
66
66
|
from .resources.agent import AgentResource, AsyncAgentResource
|
|
67
67
|
from .resources.crawl import CrawlResource, AsyncCrawlResource
|
|
68
68
|
from .resources.media import MediaResource, AsyncMediaResource
|
|
69
69
|
from .resources.tasks import TasksResource, AsyncTasksResource
|
|
70
70
|
from .resources.batches import BatchesResource, AsyncBatchesResource
|
|
71
|
-
from .resources.fast_serp import FastSerpResource, AsyncFastSerpResource
|
|
72
71
|
from .resources.jobs.jobs import JobsResource, AsyncJobsResource
|
|
73
72
|
from .resources.domain_knowledge import DomainKnowledgeResource, AsyncDomainKnowledgeResource
|
|
74
73
|
from .resources.task_agent.task_agent import TaskAgentResource, AsyncTaskAgentResource
|
|
@@ -186,12 +185,6 @@ class Nimble(SyncAPIClient):
|
|
|
186
185
|
|
|
187
186
|
return SerpResource(self)
|
|
188
187
|
|
|
189
|
-
@cached_property
|
|
190
|
-
def fast_serp(self) -> FastSerpResource:
|
|
191
|
-
from .resources.fast_serp import FastSerpResource
|
|
192
|
-
|
|
193
|
-
return FastSerpResource(self)
|
|
194
|
-
|
|
195
188
|
@cached_property
|
|
196
189
|
def task_agent(self) -> TaskAgentResource:
|
|
197
190
|
from .resources.task_agent import TaskAgentResource
|
|
@@ -301,6 +294,7 @@ class Nimble(SyncAPIClient):
|
|
|
301
294
|
self,
|
|
302
295
|
*,
|
|
303
296
|
url: str,
|
|
297
|
+
auto_driver_configuration: Dict[str, int] | Omit = omit,
|
|
304
298
|
body: object | Omit = omit,
|
|
305
299
|
browser: client_extract_params.Browser | Omit = omit,
|
|
306
300
|
browser_actions: Iterable[client_extract_params.BrowserAction] | Omit = omit,
|
|
@@ -562,7 +556,10 @@ class Nimble(SyncAPIClient):
|
|
|
562
556
|
]
|
|
563
557
|
| Omit = omit,
|
|
564
558
|
device: Literal["desktop", "mobile", "tablet"] | Omit = omit,
|
|
565
|
-
driver: Literal[
|
|
559
|
+
driver: Literal[
|
|
560
|
+
"auto", "vx6", "vx8", "vx8-pro", "vx10", "vx10-pro", "vx12", "vx12-pro", "media-vx6", "fast-vx6"
|
|
561
|
+
]
|
|
562
|
+
| Omit = omit,
|
|
566
563
|
expected_status_codes: Iterable[int] | Omit = omit,
|
|
567
564
|
formats: List[Literal["html", "markdown", "screenshot", "headers", "links"]] | Omit = omit,
|
|
568
565
|
headers: Dict[str, Union[str, SequenceNotStr[str], None]] | Omit = omit,
|
|
@@ -1191,6 +1188,11 @@ class Nimble(SyncAPIClient):
|
|
|
1191
1188
|
Args:
|
|
1192
1189
|
url: Target URL to scrape
|
|
1193
1190
|
|
|
1191
|
+
auto_driver_configuration: Custom flow for the optimization engine: maps candidate names to the number of
|
|
1192
|
+
attempts to spend on each candidate before advancing (0 skips it). Key order
|
|
1193
|
+
defines the flow order. Providing it opts the request into 'auto' driver
|
|
1194
|
+
selection.
|
|
1195
|
+
|
|
1194
1196
|
body: Request body for POST, PUT, PATCH methods
|
|
1195
1197
|
|
|
1196
1198
|
browser: Browser type to emulate
|
|
@@ -1260,6 +1262,7 @@ class Nimble(SyncAPIClient):
|
|
|
1260
1262
|
body=maybe_transform(
|
|
1261
1263
|
{
|
|
1262
1264
|
"url": url,
|
|
1265
|
+
"auto_driver_configuration": auto_driver_configuration,
|
|
1263
1266
|
"body": body,
|
|
1264
1267
|
"browser": browser,
|
|
1265
1268
|
"browser_actions": browser_actions,
|
|
@@ -1301,6 +1304,7 @@ class Nimble(SyncAPIClient):
|
|
|
1301
1304
|
self,
|
|
1302
1305
|
*,
|
|
1303
1306
|
url: str,
|
|
1307
|
+
auto_driver_configuration: Dict[str, int] | Omit = omit,
|
|
1304
1308
|
body: object | Omit = omit,
|
|
1305
1309
|
browser: client_extract_async_params.Browser | Omit = omit,
|
|
1306
1310
|
browser_actions: Iterable[client_extract_async_params.BrowserAction] | Omit = omit,
|
|
@@ -1563,7 +1567,10 @@ class Nimble(SyncAPIClient):
|
|
|
1563
1567
|
]
|
|
1564
1568
|
| Omit = omit,
|
|
1565
1569
|
device: Literal["desktop", "mobile", "tablet"] | Omit = omit,
|
|
1566
|
-
driver: Literal[
|
|
1570
|
+
driver: Literal[
|
|
1571
|
+
"auto", "vx6", "vx8", "vx8-pro", "vx10", "vx10-pro", "vx12", "vx12-pro", "media-vx6", "fast-vx6"
|
|
1572
|
+
]
|
|
1573
|
+
| Omit = omit,
|
|
1567
1574
|
expected_status_codes: Iterable[int] | Omit = omit,
|
|
1568
1575
|
formats: List[Literal["html", "markdown", "screenshot", "headers", "links"]] | Omit = omit,
|
|
1569
1576
|
headers: Dict[str, Union[str, SequenceNotStr[str], None]] | Omit = omit,
|
|
@@ -2196,6 +2203,11 @@ class Nimble(SyncAPIClient):
|
|
|
2196
2203
|
Args:
|
|
2197
2204
|
url: Target URL to scrape
|
|
2198
2205
|
|
|
2206
|
+
auto_driver_configuration: Custom flow for the optimization engine: maps candidate names to the number of
|
|
2207
|
+
attempts to spend on each candidate before advancing (0 skips it). Key order
|
|
2208
|
+
defines the flow order. Providing it opts the request into 'auto' driver
|
|
2209
|
+
selection.
|
|
2210
|
+
|
|
2199
2211
|
body: Request body for POST, PUT, PATCH methods
|
|
2200
2212
|
|
|
2201
2213
|
browser: Browser type to emulate
|
|
@@ -2275,6 +2287,7 @@ class Nimble(SyncAPIClient):
|
|
|
2275
2287
|
body=maybe_transform(
|
|
2276
2288
|
{
|
|
2277
2289
|
"url": url,
|
|
2290
|
+
"auto_driver_configuration": auto_driver_configuration,
|
|
2278
2291
|
"body": body,
|
|
2279
2292
|
"browser": browser,
|
|
2280
2293
|
"browser_actions": browser_actions,
|
|
@@ -3466,12 +3479,6 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
3466
3479
|
|
|
3467
3480
|
return AsyncSerpResource(self)
|
|
3468
3481
|
|
|
3469
|
-
@cached_property
|
|
3470
|
-
def fast_serp(self) -> AsyncFastSerpResource:
|
|
3471
|
-
from .resources.fast_serp import AsyncFastSerpResource
|
|
3472
|
-
|
|
3473
|
-
return AsyncFastSerpResource(self)
|
|
3474
|
-
|
|
3475
3482
|
@cached_property
|
|
3476
3483
|
def task_agent(self) -> AsyncTaskAgentResource:
|
|
3477
3484
|
from .resources.task_agent import AsyncTaskAgentResource
|
|
@@ -3581,6 +3588,7 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
3581
3588
|
self,
|
|
3582
3589
|
*,
|
|
3583
3590
|
url: str,
|
|
3591
|
+
auto_driver_configuration: Dict[str, int] | Omit = omit,
|
|
3584
3592
|
body: object | Omit = omit,
|
|
3585
3593
|
browser: client_extract_params.Browser | Omit = omit,
|
|
3586
3594
|
browser_actions: Iterable[client_extract_params.BrowserAction] | Omit = omit,
|
|
@@ -3842,7 +3850,10 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
3842
3850
|
]
|
|
3843
3851
|
| Omit = omit,
|
|
3844
3852
|
device: Literal["desktop", "mobile", "tablet"] | Omit = omit,
|
|
3845
|
-
driver: Literal[
|
|
3853
|
+
driver: Literal[
|
|
3854
|
+
"auto", "vx6", "vx8", "vx8-pro", "vx10", "vx10-pro", "vx12", "vx12-pro", "media-vx6", "fast-vx6"
|
|
3855
|
+
]
|
|
3856
|
+
| Omit = omit,
|
|
3846
3857
|
expected_status_codes: Iterable[int] | Omit = omit,
|
|
3847
3858
|
formats: List[Literal["html", "markdown", "screenshot", "headers", "links"]] | Omit = omit,
|
|
3848
3859
|
headers: Dict[str, Union[str, SequenceNotStr[str], None]] | Omit = omit,
|
|
@@ -4471,6 +4482,11 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
4471
4482
|
Args:
|
|
4472
4483
|
url: Target URL to scrape
|
|
4473
4484
|
|
|
4485
|
+
auto_driver_configuration: Custom flow for the optimization engine: maps candidate names to the number of
|
|
4486
|
+
attempts to spend on each candidate before advancing (0 skips it). Key order
|
|
4487
|
+
defines the flow order. Providing it opts the request into 'auto' driver
|
|
4488
|
+
selection.
|
|
4489
|
+
|
|
4474
4490
|
body: Request body for POST, PUT, PATCH methods
|
|
4475
4491
|
|
|
4476
4492
|
browser: Browser type to emulate
|
|
@@ -4540,6 +4556,7 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
4540
4556
|
body=await async_maybe_transform(
|
|
4541
4557
|
{
|
|
4542
4558
|
"url": url,
|
|
4559
|
+
"auto_driver_configuration": auto_driver_configuration,
|
|
4543
4560
|
"body": body,
|
|
4544
4561
|
"browser": browser,
|
|
4545
4562
|
"browser_actions": browser_actions,
|
|
@@ -4581,6 +4598,7 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
4581
4598
|
self,
|
|
4582
4599
|
*,
|
|
4583
4600
|
url: str,
|
|
4601
|
+
auto_driver_configuration: Dict[str, int] | Omit = omit,
|
|
4584
4602
|
body: object | Omit = omit,
|
|
4585
4603
|
browser: client_extract_async_params.Browser | Omit = omit,
|
|
4586
4604
|
browser_actions: Iterable[client_extract_async_params.BrowserAction] | Omit = omit,
|
|
@@ -4843,7 +4861,10 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
4843
4861
|
]
|
|
4844
4862
|
| Omit = omit,
|
|
4845
4863
|
device: Literal["desktop", "mobile", "tablet"] | Omit = omit,
|
|
4846
|
-
driver: Literal[
|
|
4864
|
+
driver: Literal[
|
|
4865
|
+
"auto", "vx6", "vx8", "vx8-pro", "vx10", "vx10-pro", "vx12", "vx12-pro", "media-vx6", "fast-vx6"
|
|
4866
|
+
]
|
|
4867
|
+
| Omit = omit,
|
|
4847
4868
|
expected_status_codes: Iterable[int] | Omit = omit,
|
|
4848
4869
|
formats: List[Literal["html", "markdown", "screenshot", "headers", "links"]] | Omit = omit,
|
|
4849
4870
|
headers: Dict[str, Union[str, SequenceNotStr[str], None]] | Omit = omit,
|
|
@@ -5476,6 +5497,11 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
5476
5497
|
Args:
|
|
5477
5498
|
url: Target URL to scrape
|
|
5478
5499
|
|
|
5500
|
+
auto_driver_configuration: Custom flow for the optimization engine: maps candidate names to the number of
|
|
5501
|
+
attempts to spend on each candidate before advancing (0 skips it). Key order
|
|
5502
|
+
defines the flow order. Providing it opts the request into 'auto' driver
|
|
5503
|
+
selection.
|
|
5504
|
+
|
|
5479
5505
|
body: Request body for POST, PUT, PATCH methods
|
|
5480
5506
|
|
|
5481
5507
|
browser: Browser type to emulate
|
|
@@ -5555,6 +5581,7 @@ class AsyncNimble(AsyncAPIClient):
|
|
|
5555
5581
|
body=await async_maybe_transform(
|
|
5556
5582
|
{
|
|
5557
5583
|
"url": url,
|
|
5584
|
+
"auto_driver_configuration": auto_driver_configuration,
|
|
5558
5585
|
"body": body,
|
|
5559
5586
|
"browser": browser,
|
|
5560
5587
|
"browser_actions": browser_actions,
|
|
@@ -6700,12 +6727,6 @@ class NimbleWithRawResponse:
|
|
|
6700
6727
|
|
|
6701
6728
|
return SerpResourceWithRawResponse(self._client.serp)
|
|
6702
6729
|
|
|
6703
|
-
@cached_property
|
|
6704
|
-
def fast_serp(self) -> fast_serp.FastSerpResourceWithRawResponse:
|
|
6705
|
-
from .resources.fast_serp import FastSerpResourceWithRawResponse
|
|
6706
|
-
|
|
6707
|
-
return FastSerpResourceWithRawResponse(self._client.fast_serp)
|
|
6708
|
-
|
|
6709
6730
|
@cached_property
|
|
6710
6731
|
def task_agent(self) -> task_agent.TaskAgentResourceWithRawResponse:
|
|
6711
6732
|
from .resources.task_agent import TaskAgentResourceWithRawResponse
|
|
@@ -6783,12 +6804,6 @@ class AsyncNimbleWithRawResponse:
|
|
|
6783
6804
|
|
|
6784
6805
|
return AsyncSerpResourceWithRawResponse(self._client.serp)
|
|
6785
6806
|
|
|
6786
|
-
@cached_property
|
|
6787
|
-
def fast_serp(self) -> fast_serp.AsyncFastSerpResourceWithRawResponse:
|
|
6788
|
-
from .resources.fast_serp import AsyncFastSerpResourceWithRawResponse
|
|
6789
|
-
|
|
6790
|
-
return AsyncFastSerpResourceWithRawResponse(self._client.fast_serp)
|
|
6791
|
-
|
|
6792
6807
|
@cached_property
|
|
6793
6808
|
def task_agent(self) -> task_agent.AsyncTaskAgentResourceWithRawResponse:
|
|
6794
6809
|
from .resources.task_agent import AsyncTaskAgentResourceWithRawResponse
|
|
@@ -6866,12 +6881,6 @@ class NimbleWithStreamedResponse:
|
|
|
6866
6881
|
|
|
6867
6882
|
return SerpResourceWithStreamingResponse(self._client.serp)
|
|
6868
6883
|
|
|
6869
|
-
@cached_property
|
|
6870
|
-
def fast_serp(self) -> fast_serp.FastSerpResourceWithStreamingResponse:
|
|
6871
|
-
from .resources.fast_serp import FastSerpResourceWithStreamingResponse
|
|
6872
|
-
|
|
6873
|
-
return FastSerpResourceWithStreamingResponse(self._client.fast_serp)
|
|
6874
|
-
|
|
6875
6884
|
@cached_property
|
|
6876
6885
|
def task_agent(self) -> task_agent.TaskAgentResourceWithStreamingResponse:
|
|
6877
6886
|
from .resources.task_agent import TaskAgentResourceWithStreamingResponse
|
|
@@ -6949,12 +6958,6 @@ class AsyncNimbleWithStreamedResponse:
|
|
|
6949
6958
|
|
|
6950
6959
|
return AsyncSerpResourceWithStreamingResponse(self._client.serp)
|
|
6951
6960
|
|
|
6952
|
-
@cached_property
|
|
6953
|
-
def fast_serp(self) -> fast_serp.AsyncFastSerpResourceWithStreamingResponse:
|
|
6954
|
-
from .resources.fast_serp import AsyncFastSerpResourceWithStreamingResponse
|
|
6955
|
-
|
|
6956
|
-
return AsyncFastSerpResourceWithStreamingResponse(self._client.fast_serp)
|
|
6957
|
-
|
|
6958
6961
|
@cached_property
|
|
6959
6962
|
def task_agent(self) -> task_agent.AsyncTaskAgentResourceWithStreamingResponse:
|
|
6960
6963
|
from .resources.task_agent import AsyncTaskAgentResourceWithStreamingResponse
|
|
@@ -56,14 +56,6 @@ from .batches import (
|
|
|
56
56
|
BatchesResourceWithStreamingResponse,
|
|
57
57
|
AsyncBatchesResourceWithStreamingResponse,
|
|
58
58
|
)
|
|
59
|
-
from .fast_serp import (
|
|
60
|
-
FastSerpResource,
|
|
61
|
-
AsyncFastSerpResource,
|
|
62
|
-
FastSerpResourceWithRawResponse,
|
|
63
|
-
AsyncFastSerpResourceWithRawResponse,
|
|
64
|
-
FastSerpResourceWithStreamingResponse,
|
|
65
|
-
AsyncFastSerpResourceWithStreamingResponse,
|
|
66
|
-
)
|
|
67
59
|
from .task_agent import (
|
|
68
60
|
TaskAgentResource,
|
|
69
61
|
AsyncTaskAgentResource,
|
|
@@ -124,12 +116,6 @@ __all__ = [
|
|
|
124
116
|
"AsyncSerpResourceWithRawResponse",
|
|
125
117
|
"SerpResourceWithStreamingResponse",
|
|
126
118
|
"AsyncSerpResourceWithStreamingResponse",
|
|
127
|
-
"FastSerpResource",
|
|
128
|
-
"AsyncFastSerpResource",
|
|
129
|
-
"FastSerpResourceWithRawResponse",
|
|
130
|
-
"AsyncFastSerpResourceWithRawResponse",
|
|
131
|
-
"FastSerpResourceWithStreamingResponse",
|
|
132
|
-
"AsyncFastSerpResourceWithStreamingResponse",
|
|
133
119
|
"TaskAgentResource",
|
|
134
120
|
"AsyncTaskAgentResource",
|
|
135
121
|
"TaskAgentResourceWithRawResponse",
|
|
@@ -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
124
|
metadata: Optional[agent_generate_params.CreateAgentGenerationRequestMetadata] | 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
182
|
metadata: Optional[agent_generate_params.CreateAgentGenerationRequestMetadata] | 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
515
|
metadata: Optional[agent_generate_params.CreateAgentGenerationRequestMetadata] | 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
573
|
metadata: Optional[agent_generate_params.CreateAgentGenerationRequestMetadata] | 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,18 @@ 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
|
+
destination: Where a job writes its results.
|
|
88
|
+
|
|
89
|
+
display_name: Human-friendly job name shown in the UI.
|
|
90
|
+
|
|
91
|
+
inputs: Configuration for the input data a job processes.
|
|
92
|
+
|
|
93
|
+
schedule: Cron-based schedule controlling when a job runs automatically.
|
|
94
|
+
|
|
83
95
|
extra_headers: Send extra headers
|
|
84
96
|
|
|
85
97
|
extra_query: Add additional query parameters to the request
|
|
@@ -128,6 +140,14 @@ class JobsResource(SyncAPIResource):
|
|
|
128
140
|
Update Job
|
|
129
141
|
|
|
130
142
|
Args:
|
|
143
|
+
destination: Where a job writes its results.
|
|
144
|
+
|
|
145
|
+
display_name: New display name.
|
|
146
|
+
|
|
147
|
+
inputs: Configuration for the input data a job processes.
|
|
148
|
+
|
|
149
|
+
schedule: Cron-based schedule controlling when a job runs automatically.
|
|
150
|
+
|
|
131
151
|
extra_headers: Send extra headers
|
|
132
152
|
|
|
133
153
|
extra_query: Add additional query parameters to the request
|
|
@@ -352,6 +372,18 @@ class AsyncJobsResource(AsyncAPIResource):
|
|
|
352
372
|
Create Job
|
|
353
373
|
|
|
354
374
|
Args:
|
|
375
|
+
agent_name: Name of the agent to run.
|
|
376
|
+
|
|
377
|
+
name: Job name.
|
|
378
|
+
|
|
379
|
+
destination: Where a job writes its results.
|
|
380
|
+
|
|
381
|
+
display_name: Human-friendly job name shown in the UI.
|
|
382
|
+
|
|
383
|
+
inputs: Configuration for the input data a job processes.
|
|
384
|
+
|
|
385
|
+
schedule: Cron-based schedule controlling when a job runs automatically.
|
|
386
|
+
|
|
355
387
|
extra_headers: Send extra headers
|
|
356
388
|
|
|
357
389
|
extra_query: Add additional query parameters to the request
|
|
@@ -400,6 +432,14 @@ class AsyncJobsResource(AsyncAPIResource):
|
|
|
400
432
|
Update Job
|
|
401
433
|
|
|
402
434
|
Args:
|
|
435
|
+
destination: Where a job writes its results.
|
|
436
|
+
|
|
437
|
+
display_name: New display name.
|
|
438
|
+
|
|
439
|
+
inputs: Configuration for the input data a job processes.
|
|
440
|
+
|
|
441
|
+
schedule: Cron-based schedule controlling when a job runs automatically.
|
|
442
|
+
|
|
403
443
|
extra_headers: Send extra headers
|
|
404
444
|
|
|
405
445
|
extra_query: Add additional query parameters to the request
|
|
@@ -47,7 +47,6 @@ from .crawl_list_response import CrawlListResponse as CrawlListResponse
|
|
|
47
47
|
from .job_create_response import JobCreateResponse as JobCreateResponse
|
|
48
48
|
from .job_update_response import JobUpdateResponse as JobUpdateResponse
|
|
49
49
|
from .client_search_params import ClientSearchParams as ClientSearchParams
|
|
50
|
-
from .fast_serp_run_params import FastSerpRunParams as FastSerpRunParams
|
|
51
50
|
from .agent_generate_params import AgentGenerateParams as AgentGenerateParams
|
|
52
51
|
from .client_extract_params import ClientExtractParams as ClientExtractParams
|
|
53
52
|
from .crawl_status_response import CrawlStatusResponse as CrawlStatusResponse
|
|
@@ -59,7 +58,6 @@ from .agent_run_async_params import AgentRunAsyncParams as AgentRunAsyncParams
|
|
|
59
58
|
from .agent_run_batch_params import AgentRunBatchParams as AgentRunBatchParams
|
|
60
59
|
from .extract_async_response import ExtractAsyncResponse as ExtractAsyncResponse
|
|
61
60
|
from .extract_batch_response import ExtractBatchResponse as ExtractBatchResponse
|
|
62
|
-
from .fast_serp_run_response import FastSerpRunResponse as FastSerpRunResponse
|
|
63
61
|
from .media_run_async_params import MediaRunAsyncParams as MediaRunAsyncParams
|
|
64
62
|
from .task_agent_list_params import TaskAgentListParams as TaskAgentListParams
|
|
65
63
|
from .agent_generate_response import AgentGenerateResponse as AgentGenerateResponse
|
{nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/agent_generate_params.py
RENAMED
|
@@ -20,12 +20,12 @@ class CreateAgentGenerationRequest(TypedDict, total=False):
|
|
|
20
20
|
|
|
21
21
|
url: Required[str]
|
|
22
22
|
|
|
23
|
-
agent_name: Optional[str]
|
|
24
|
-
|
|
25
23
|
input_schema: Dict[str, object]
|
|
26
24
|
|
|
27
25
|
metadata: Optional[CreateAgentGenerationRequestMetadata]
|
|
28
26
|
|
|
27
|
+
name: Optional[str]
|
|
28
|
+
|
|
29
29
|
output_schema: Dict[str, object]
|
|
30
30
|
|
|
31
31
|
|
{nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/agent_run_batch_response.py
RENAMED
|
@@ -22,7 +22,7 @@ class Task(BaseModel):
|
|
|
22
22
|
input: object
|
|
23
23
|
"""Original input data for the task."""
|
|
24
24
|
|
|
25
|
-
state: Literal["pending", "success", "error"]
|
|
25
|
+
state: Literal["pending", "queued", "in_progress", "success", "error"]
|
|
26
26
|
"""Current state of the task."""
|
|
27
27
|
|
|
28
28
|
status_url: str
|
|
@@ -31,7 +31,9 @@ class Task(BaseModel):
|
|
|
31
31
|
account_name: Optional[str] = None
|
|
32
32
|
"""Account name that owns the task."""
|
|
33
33
|
|
|
34
|
-
api_type: Optional[
|
|
34
|
+
api_type: Optional[
|
|
35
|
+
Literal["web", "serp", "ecommerce", "social", "media", "agent", "extract", "fast-serp", "labs"]
|
|
36
|
+
] = None
|
|
35
37
|
|
|
36
38
|
batch_id: Optional[str] = None
|
|
37
39
|
"""Batch ID if this task is part of a batch."""
|
|
@@ -51,6 +53,9 @@ class Task(BaseModel):
|
|
|
51
53
|
output_url: Optional[str] = None
|
|
52
54
|
"""Storage location of the output data."""
|
|
53
55
|
|
|
56
|
+
queue: Optional[str] = None
|
|
57
|
+
"""Queue name the task was submitted to."""
|
|
58
|
+
|
|
54
59
|
status_code: Optional[float] = None
|
|
55
60
|
"""HTTP status code from the task execution."""
|
|
56
61
|
|
|
@@ -22,7 +22,7 @@ class Task(BaseModel):
|
|
|
22
22
|
input: object
|
|
23
23
|
"""Original input data for the task."""
|
|
24
24
|
|
|
25
|
-
state: Literal["pending", "success", "error"]
|
|
25
|
+
state: Literal["pending", "queued", "in_progress", "success", "error"]
|
|
26
26
|
"""Current state of the task."""
|
|
27
27
|
|
|
28
28
|
status_url: str
|
|
@@ -31,7 +31,9 @@ class Task(BaseModel):
|
|
|
31
31
|
account_name: Optional[str] = None
|
|
32
32
|
"""Account name that owns the task."""
|
|
33
33
|
|
|
34
|
-
api_type: Optional[
|
|
34
|
+
api_type: Optional[
|
|
35
|
+
Literal["web", "serp", "ecommerce", "social", "media", "agent", "extract", "fast-serp", "labs"]
|
|
36
|
+
] = None
|
|
35
37
|
|
|
36
38
|
batch_id: Optional[str] = None
|
|
37
39
|
"""Batch ID if this task is part of a batch."""
|
|
@@ -51,6 +53,9 @@ class Task(BaseModel):
|
|
|
51
53
|
output_url: Optional[str] = None
|
|
52
54
|
"""Storage location of the output data."""
|
|
53
55
|
|
|
56
|
+
queue: Optional[str] = None
|
|
57
|
+
"""Queue name the task was submitted to."""
|
|
58
|
+
|
|
54
59
|
status_code: Optional[float] = None
|
|
55
60
|
"""HTTP status code from the task execution."""
|
|
56
61
|
|
{nimble_python-0.21.0 → nimble_python-0.22.0}/src/nimble_python/types/client_extract_async_params.py
RENAMED
|
@@ -37,6 +37,14 @@ class ClientExtractAsyncParams(TypedDict, total=False):
|
|
|
37
37
|
url: Required[str]
|
|
38
38
|
"""Target URL to scrape"""
|
|
39
39
|
|
|
40
|
+
auto_driver_configuration: Dict[str, int]
|
|
41
|
+
"""
|
|
42
|
+
Custom flow for the optimization engine: maps candidate names to the number of
|
|
43
|
+
attempts to spend on each candidate before advancing (0 skips it). Key order
|
|
44
|
+
defines the flow order. Providing it opts the request into 'auto' driver
|
|
45
|
+
selection.
|
|
46
|
+
"""
|
|
47
|
+
|
|
40
48
|
body: object
|
|
41
49
|
"""Request body for POST, PUT, PATCH methods"""
|
|
42
50
|
|
|
@@ -316,7 +324,7 @@ class ClientExtractAsyncParams(TypedDict, total=False):
|
|
|
316
324
|
device: Literal["desktop", "mobile", "tablet"]
|
|
317
325
|
"""Device type for browser emulation"""
|
|
318
326
|
|
|
319
|
-
driver: Literal["vx6", "vx8", "vx8-pro", "vx10", "vx10-pro", "vx12", "vx12-pro", "media-vx6"]
|
|
327
|
+
driver: Literal["auto", "vx6", "vx8", "vx8-pro", "vx10", "vx10-pro", "vx12", "vx12-pro", "media-vx6", "fast-vx6"]
|
|
320
328
|
"""Browser driver to use"""
|
|
321
329
|
|
|
322
330
|
expected_status_codes: Iterable[int]
|
|
@@ -1009,7 +1017,11 @@ BrowserAction: TypeAlias = Union[
|
|
|
1009
1017
|
]
|
|
1010
1018
|
|
|
1011
1019
|
|
|
1012
|
-
class CookiesUnionMember0(
|
|
1020
|
+
class CookiesUnionMember0( # type: ignore[call-arg]
|
|
1021
|
+
TypedDict,
|
|
1022
|
+
total=False,
|
|
1023
|
+
extra_items=object, # pyright: ignore[reportGeneralTypeIssues]
|
|
1024
|
+
):
|
|
1013
1025
|
creation: Optional[str]
|
|
1014
1026
|
|
|
1015
1027
|
domain: Optional[str]
|