anchorbrowser 0.3.7__tar.gz → 0.3.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. anchorbrowser-0.3.9/.release-please-manifest.json +3 -0
  2. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/CHANGELOG.md +16 -0
  3. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/PKG-INFO +1 -1
  4. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/pyproject.toml +1 -1
  5. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_models.py +28 -14
  6. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_version.py +1 -1
  7. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/task/run.py +6 -22
  8. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/task.py +6 -23
  9. anchorbrowser-0.3.7/src/anchorbrowser/types/task/run_execute_params.py → anchorbrowser-0.3.9/src/anchorbrowser/types/task_run_params.py +2 -7
  10. anchorbrowser-0.3.7/src/anchorbrowser/types/task/run_execute_response.py → anchorbrowser-0.3.9/src/anchorbrowser/types/task_run_response.py +4 -1
  11. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/test_task.py +1 -7
  12. anchorbrowser-0.3.7/.release-please-manifest.json +0 -3
  13. anchorbrowser-0.3.7/src/anchorbrowser/types/task/__init__.py +0 -6
  14. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/.gitignore +0 -0
  15. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/CONTRIBUTING.md +0 -0
  16. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/LICENSE +0 -0
  17. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/README.md +0 -0
  18. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/SECURITY.md +0 -0
  19. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/api.md +0 -0
  20. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/bin/check-release-environment +0 -0
  21. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/bin/publish-pypi +0 -0
  22. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/examples/.keep +0 -0
  23. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/noxfile.py +0 -0
  24. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/release-please-config.json +0 -0
  25. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/requirements-dev.lock +0 -0
  26. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/requirements.lock +0 -0
  27. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/__init__.py +0 -0
  28. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_base_client.py +0 -0
  29. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_client.py +0 -0
  30. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_compat.py +0 -0
  31. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_constants.py +0 -0
  32. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_exceptions.py +0 -0
  33. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_files.py +0 -0
  34. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_qs.py +0 -0
  35. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_resource.py +0 -0
  36. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_response.py +0 -0
  37. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_streaming.py +0 -0
  38. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_types.py +0 -0
  39. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_utils/__init__.py +0 -0
  40. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_utils/_compat.py +0 -0
  41. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_utils/_datetime_parse.py +0 -0
  42. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_utils/_logs.py +0 -0
  43. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_utils/_proxy.py +0 -0
  44. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_utils/_reflection.py +0 -0
  45. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_utils/_resources_proxy.py +0 -0
  46. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_utils/_streams.py +0 -0
  47. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_utils/_sync.py +0 -0
  48. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_utils/_transform.py +0 -0
  49. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_utils/_typing.py +0 -0
  50. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/_utils/_utils.py +0 -0
  51. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/lib/.keep +0 -0
  52. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/lib/agent.py +0 -0
  53. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/lib/browser.py +0 -0
  54. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/py.typed +0 -0
  55. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/__init__.py +0 -0
  56. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/agent.py +0 -0
  57. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/batch_sessions.py +0 -0
  58. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/browser.py +0 -0
  59. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/events.py +0 -0
  60. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/extensions.py +0 -0
  61. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/profiles.py +0 -0
  62. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/sessions/__init__.py +0 -0
  63. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/sessions/agent/__init__.py +0 -0
  64. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/sessions/agent/agent.py +0 -0
  65. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/sessions/agent/files.py +0 -0
  66. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/sessions/all.py +0 -0
  67. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/sessions/clipboard.py +0 -0
  68. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/sessions/keyboard.py +0 -0
  69. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/sessions/mouse.py +0 -0
  70. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/sessions/recordings/__init__.py +0 -0
  71. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/sessions/recordings/primary.py +0 -0
  72. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/sessions/recordings/recordings.py +0 -0
  73. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/sessions/sessions.py +0 -0
  74. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/resources/tools.py +0 -0
  75. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/__init__.py +0 -0
  76. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/batch_session_create_params.py +0 -0
  77. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/batch_session_create_response.py +0 -0
  78. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/batch_session_retrieve_response.py +0 -0
  79. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/event_signal_params.py +0 -0
  80. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/event_wait_for_params.py +0 -0
  81. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/event_wait_for_response.py +0 -0
  82. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/extension_delete_response.py +0 -0
  83. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/extension_list_response.py +0 -0
  84. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/extension_manifest.py +0 -0
  85. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/extension_retrieve_response.py +0 -0
  86. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/extension_upload_params.py +0 -0
  87. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/extension_upload_response.py +0 -0
  88. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/profile_create_params.py +0 -0
  89. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/profile_list_response.py +0 -0
  90. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/profile_retrieve_response.py +0 -0
  91. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_copy_response.py +0 -0
  92. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_create_params.py +0 -0
  93. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_create_response.py +0 -0
  94. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_drag_and_drop_params.py +0 -0
  95. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_drag_and_drop_response.py +0 -0
  96. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_goto_params.py +0 -0
  97. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_goto_response.py +0 -0
  98. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_list_pages_response.py +0 -0
  99. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_paste_params.py +0 -0
  100. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_paste_response.py +0 -0
  101. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_retrieve_downloads_response.py +0 -0
  102. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_retrieve_response.py +0 -0
  103. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_scroll_params.py +0 -0
  104. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_scroll_response.py +0 -0
  105. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_upload_file_params.py +0 -0
  106. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/session_upload_file_response.py +0 -0
  107. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/__init__.py +0 -0
  108. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/agent/__init__.py +0 -0
  109. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/agent/file_list_response.py +0 -0
  110. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/agent/file_upload_params.py +0 -0
  111. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/agent/file_upload_response.py +0 -0
  112. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/all_status_response.py +0 -0
  113. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/clipboard_get_response.py +0 -0
  114. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/clipboard_set_params.py +0 -0
  115. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/clipboard_set_response.py +0 -0
  116. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/keyboard_shortcut_params.py +0 -0
  117. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/keyboard_shortcut_response.py +0 -0
  118. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/keyboard_type_params.py +0 -0
  119. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/keyboard_type_response.py +0 -0
  120. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/mouse_click_params.py +0 -0
  121. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/mouse_click_response.py +0 -0
  122. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/mouse_double_click_params.py +0 -0
  123. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/mouse_double_click_response.py +0 -0
  124. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/mouse_move_params.py +0 -0
  125. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/mouse_move_response.py +0 -0
  126. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/recording_list_response.py +0 -0
  127. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/recording_pause_response.py +0 -0
  128. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/recording_resume_response.py +0 -0
  129. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/sessions/recordings/__init__.py +0 -0
  130. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/shared/__init__.py +0 -0
  131. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/shared/success_response.py +0 -0
  132. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/task_create_params.py +0 -0
  133. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/task_create_response.py +0 -0
  134. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/task_list_params.py +0 -0
  135. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/task_list_response.py +0 -0
  136. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/tool_fetch_webpage_params.py +0 -0
  137. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/tool_fetch_webpage_response.py +0 -0
  138. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/tool_perform_web_task_params.py +0 -0
  139. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/tool_perform_web_task_response.py +0 -0
  140. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/src/anchorbrowser/types/tool_screenshot_webpage_params.py +0 -0
  141. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/__init__.py +0 -0
  142. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/__init__.py +0 -0
  143. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/sessions/__init__.py +0 -0
  144. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/sessions/agent/test_files.py +0 -0
  145. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/sessions/recordings/__init__.py +0 -0
  146. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/sessions/recordings/test_primary.py +0 -0
  147. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/sessions/test_agent.py +0 -0
  148. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/sessions/test_all.py +0 -0
  149. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/sessions/test_clipboard.py +0 -0
  150. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/sessions/test_keyboard.py +0 -0
  151. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/sessions/test_mouse.py +0 -0
  152. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/sessions/test_recordings.py +0 -0
  153. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/test_batch_sessions.py +0 -0
  154. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/test_events.py +0 -0
  155. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/test_extensions.py +0 -0
  156. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/test_profiles.py +0 -0
  157. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/test_sessions.py +0 -0
  158. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/api_resources/test_tools.py +0 -0
  159. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/conftest.py +0 -0
  160. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/sample_file.txt +0 -0
  161. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/test_client.py +0 -0
  162. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/test_deepcopy.py +0 -0
  163. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/test_extract_files.py +0 -0
  164. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/test_files.py +0 -0
  165. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/test_models.py +0 -0
  166. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/test_qs.py +0 -0
  167. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/test_required_args.py +0 -0
  168. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/test_response.py +0 -0
  169. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/test_streaming.py +0 -0
  170. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/test_transform.py +0 -0
  171. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/test_utils/test_datetime_parse.py +0 -0
  172. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/test_utils/test_proxy.py +0 -0
  173. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/test_utils/test_typing.py +0 -0
  174. {anchorbrowser-0.3.7 → anchorbrowser-0.3.9}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.3.9"
3
+ }
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.9 (2025-11-16)
4
+
5
+ Full Changelog: [v0.3.8...v0.3.9](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/compare/v0.3.8...v0.3.9)
6
+
7
+ ### Features
8
+
9
+ * BRO-1203 docs: remove sessionId and taskSessionId parameters from run… ([9ae6b61](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/commit/9ae6b61094c9c4668f3409a0a6505c08a4ce7051))
10
+
11
+ ## 0.3.8 (2025-11-12)
12
+
13
+ Full Changelog: [v0.3.7...v0.3.8](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/compare/v0.3.7...v0.3.8)
14
+
15
+ ### Bug Fixes
16
+
17
+ * **compat:** update signatures of `model_dump` and `model_dump_json` for Pydantic v1 ([fab1433](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/commit/fab1433ffae3fdcbdce4f8cdf5f92aaade6385eb))
18
+
3
19
  ## 0.3.7 (2025-11-11)
4
20
 
5
21
  Full Changelog: [v0.3.6...v0.3.7](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/compare/v0.3.6...v0.3.7)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: anchorbrowser
3
- Version: 0.3.7
3
+ Version: 0.3.9
4
4
  Summary: The official Python library for the anchorbrowser API
5
5
  Project-URL: Homepage, https://github.com/anchorbrowser/AnchorBrowser-SDK-Python
6
6
  Project-URL: Repository, https://github.com/anchorbrowser/AnchorBrowser-SDK-Python
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "anchorbrowser"
3
- version = "0.3.7"
3
+ version = "0.3.9"
4
4
  description = "The official Python library for the anchorbrowser API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -257,6 +257,7 @@ class BaseModel(pydantic.BaseModel):
257
257
  mode: Literal["json", "python"] | str = "python",
258
258
  include: IncEx | None = None,
259
259
  exclude: IncEx | None = None,
260
+ context: Any | None = None,
260
261
  by_alias: bool | None = None,
261
262
  exclude_unset: bool = False,
262
263
  exclude_defaults: bool = False,
@@ -264,9 +265,8 @@ class BaseModel(pydantic.BaseModel):
264
265
  exclude_computed_fields: bool = False,
265
266
  round_trip: bool = False,
266
267
  warnings: bool | Literal["none", "warn", "error"] = True,
267
- context: dict[str, Any] | None = None,
268
- serialize_as_any: bool = False,
269
268
  fallback: Callable[[Any], Any] | None = None,
269
+ serialize_as_any: bool = False,
270
270
  ) -> dict[str, Any]:
271
271
  """Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump
272
272
 
@@ -274,16 +274,24 @@ class BaseModel(pydantic.BaseModel):
274
274
 
275
275
  Args:
276
276
  mode: The mode in which `to_python` should run.
277
- If mode is 'json', the dictionary will only contain JSON serializable types.
278
- If mode is 'python', the dictionary may contain any Python objects.
279
- include: A list of fields to include in the output.
280
- exclude: A list of fields to exclude from the output.
277
+ If mode is 'json', the output will only contain JSON serializable types.
278
+ If mode is 'python', the output may contain non-JSON-serializable Python objects.
279
+ include: A set of fields to include in the output.
280
+ exclude: A set of fields to exclude from the output.
281
+ context: Additional context to pass to the serializer.
281
282
  by_alias: Whether to use the field's alias in the dictionary key if defined.
282
- exclude_unset: Whether to exclude fields that are unset or None from the output.
283
- exclude_defaults: Whether to exclude fields that are set to their default value from the output.
284
- exclude_none: Whether to exclude fields that have a value of `None` from the output.
285
- round_trip: Whether to enable serialization and deserialization round-trip support.
286
- warnings: Whether to log warnings when invalid fields are encountered.
283
+ exclude_unset: Whether to exclude fields that have not been explicitly set.
284
+ exclude_defaults: Whether to exclude fields that are set to their default value.
285
+ exclude_none: Whether to exclude fields that have a value of `None`.
286
+ exclude_computed_fields: Whether to exclude computed fields.
287
+ While this can be useful for round-tripping, it is usually recommended to use the dedicated
288
+ `round_trip` parameter instead.
289
+ round_trip: If True, dumped values should be valid as input for non-idempotent types such as Json[T].
290
+ warnings: How to handle serialization errors. False/"none" ignores them, True/"warn" logs errors,
291
+ "error" raises a [`PydanticSerializationError`][pydantic_core.PydanticSerializationError].
292
+ fallback: A function to call when an unknown value is encountered. If not provided,
293
+ a [`PydanticSerializationError`][pydantic_core.PydanticSerializationError] error is raised.
294
+ serialize_as_any: Whether to serialize fields with duck-typing serialization behavior.
287
295
 
288
296
  Returns:
289
297
  A dictionary representation of the model.
@@ -300,6 +308,8 @@ class BaseModel(pydantic.BaseModel):
300
308
  raise ValueError("serialize_as_any is only supported in Pydantic v2")
301
309
  if fallback is not None:
302
310
  raise ValueError("fallback is only supported in Pydantic v2")
311
+ if exclude_computed_fields != False:
312
+ raise ValueError("exclude_computed_fields is only supported in Pydantic v2")
303
313
  dumped = super().dict( # pyright: ignore[reportDeprecated]
304
314
  include=include,
305
315
  exclude=exclude,
@@ -316,8 +326,10 @@ class BaseModel(pydantic.BaseModel):
316
326
  self,
317
327
  *,
318
328
  indent: int | None = None,
329
+ ensure_ascii: bool = False,
319
330
  include: IncEx | None = None,
320
331
  exclude: IncEx | None = None,
332
+ context: Any | None = None,
321
333
  by_alias: bool | None = None,
322
334
  exclude_unset: bool = False,
323
335
  exclude_defaults: bool = False,
@@ -325,10 +337,8 @@ class BaseModel(pydantic.BaseModel):
325
337
  exclude_computed_fields: bool = False,
326
338
  round_trip: bool = False,
327
339
  warnings: bool | Literal["none", "warn", "error"] = True,
328
- context: dict[str, Any] | None = None,
329
340
  fallback: Callable[[Any], Any] | None = None,
330
- serialize_as_any: bool = False,
331
- ensure_ascii: bool = True,
341
+ serialize_as_any: bool = False
332
342
  ) -> str:
333
343
  """Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump_json
334
344
 
@@ -358,6 +368,10 @@ class BaseModel(pydantic.BaseModel):
358
368
  raise ValueError("serialize_as_any is only supported in Pydantic v2")
359
369
  if fallback is not None:
360
370
  raise ValueError("fallback is only supported in Pydantic v2")
371
+ if ensure_ascii != False:
372
+ raise ValueError("ensure_ascii is only supported in Pydantic v2")
373
+ if exclude_computed_fields != False:
374
+ raise ValueError("exclude_computed_fields is only supported in Pydantic v2")
361
375
  return super().json( # type: ignore[reportDeprecated]
362
376
  indent=indent,
363
377
  include=include,
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "anchorbrowser"
4
- __version__ = "0.3.7" # x-release-please-version
4
+ __version__ = "0.3.9" # x-release-please-version
@@ -6,6 +6,7 @@ from typing import Dict
6
6
 
7
7
  import httpx
8
8
 
9
+ from ...types import task_run_params
9
10
  from ..._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
10
11
  from ..._utils import maybe_transform, async_maybe_transform
11
12
  from ..._compat import cached_property
@@ -16,9 +17,8 @@ from ..._response import (
16
17
  async_to_raw_response_wrapper,
17
18
  async_to_streamed_response_wrapper,
18
19
  )
19
- from ...types.task import run_execute_params
20
20
  from ..._base_client import make_request_options
21
- from ...types.task.run_execute_response import RunExecuteResponse
21
+ from ...types.task_run_response import RunExecuteResponse
22
22
 
23
23
  __all__ = ["RunResource", "AsyncRunResource"]
24
24
 
@@ -49,9 +49,7 @@ class RunResource(SyncAPIResource):
49
49
  task_id: str,
50
50
  async_: bool | Omit = omit,
51
51
  inputs: Dict[str, str] | Omit = omit,
52
- override_browser_configuration: run_execute_params.OverrideBrowserConfiguration | Omit = omit,
53
- session_id: str | Omit = omit,
54
- task_session_id: str | Omit = omit,
52
+ override_browser_configuration: task_run_params.OverrideBrowserConfiguration | Omit = omit,
55
53
  version: str | Omit = omit,
56
54
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
57
55
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -75,10 +73,6 @@ class RunResource(SyncAPIResource):
75
73
 
76
74
  override_browser_configuration: Override browser configuration for this execution
77
75
 
78
- session_id: Optional existing session ID to use
79
-
80
- task_session_id: Optional task-specific session ID
81
-
82
76
  version: Version to run (draft, latest, or version number)
83
77
 
84
78
  extra_headers: Send extra headers
@@ -97,11 +91,9 @@ class RunResource(SyncAPIResource):
97
91
  "async_": async_,
98
92
  "inputs": inputs,
99
93
  "override_browser_configuration": override_browser_configuration,
100
- "session_id": session_id,
101
- "task_session_id": task_session_id,
102
94
  "version": version,
103
95
  },
104
- run_execute_params.RunExecuteParams,
96
+ task_run_params.RunExecuteParams,
105
97
  ),
106
98
  options=make_request_options(
107
99
  extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
@@ -136,9 +128,7 @@ class AsyncRunResource(AsyncAPIResource):
136
128
  task_id: str,
137
129
  async_: bool | Omit = omit,
138
130
  inputs: Dict[str, str] | Omit = omit,
139
- override_browser_configuration: run_execute_params.OverrideBrowserConfiguration | Omit = omit,
140
- session_id: str | Omit = omit,
141
- task_session_id: str | Omit = omit,
131
+ override_browser_configuration: task_run_params.OverrideBrowserConfiguration | Omit = omit,
142
132
  version: str | Omit = omit,
143
133
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
144
134
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -162,10 +152,6 @@ class AsyncRunResource(AsyncAPIResource):
162
152
 
163
153
  override_browser_configuration: Override browser configuration for this execution
164
154
 
165
- session_id: Optional existing session ID to use
166
-
167
- task_session_id: Optional task-specific session ID
168
-
169
155
  version: Version to run (draft, latest, or version number)
170
156
 
171
157
  extra_headers: Send extra headers
@@ -184,11 +170,9 @@ class AsyncRunResource(AsyncAPIResource):
184
170
  "async_": async_,
185
171
  "inputs": inputs,
186
172
  "override_browser_configuration": override_browser_configuration,
187
- "session_id": session_id,
188
- "task_session_id": task_session_id,
189
173
  "version": version,
190
174
  },
191
- run_execute_params.RunExecuteParams,
175
+ task_run_params.RunExecuteParams,
192
176
  ),
193
177
  options=make_request_options(
194
178
  extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
@@ -7,7 +7,7 @@ from typing_extensions import Literal
7
7
 
8
8
  import httpx
9
9
 
10
- from ..types import task_list_params, task_create_params
10
+ from ..types import task_run_params, task_list_params, task_create_params
11
11
  from .._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
12
12
  from .._utils import maybe_transform, async_maybe_transform
13
13
  from .._compat import cached_property
@@ -18,11 +18,10 @@ from .._response import (
18
18
  async_to_raw_response_wrapper,
19
19
  async_to_streamed_response_wrapper,
20
20
  )
21
- from ..types.task import run_execute_params
22
21
  from .._base_client import make_request_options
22
+ from ..types.task_run_response import RunExecuteResponse
23
23
  from ..types.task_list_response import TaskListResponse
24
24
  from ..types.task_create_response import TaskCreateResponse
25
- from ..types.task.run_execute_response import RunExecuteResponse
26
25
 
27
26
  __all__ = ["TaskResource", "AsyncTaskResource"]
28
27
 
@@ -159,9 +158,7 @@ class TaskResource(SyncAPIResource):
159
158
  task_id: str,
160
159
  async_: bool | Omit = omit,
161
160
  inputs: Dict[str, str] | Omit = omit,
162
- override_browser_configuration: run_execute_params.OverrideBrowserConfiguration | Omit = omit,
163
- session_id: str | Omit = omit,
164
- task_session_id: str | Omit = omit,
161
+ override_browser_configuration: task_run_params.OverrideBrowserConfiguration | Omit = omit,
165
162
  version: str | Omit = omit,
166
163
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
167
164
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -185,10 +182,6 @@ class TaskResource(SyncAPIResource):
185
182
 
186
183
  override_browser_configuration: Override browser configuration for this execution
187
184
 
188
- session_id: Optional existing session ID to use
189
-
190
- task_session_id: Optional task-specific session ID
191
-
192
185
  version: Version to run (draft, latest, or version number)
193
186
 
194
187
  extra_headers: Send extra headers
@@ -207,11 +200,9 @@ class TaskResource(SyncAPIResource):
207
200
  "async_": async_,
208
201
  "inputs": inputs,
209
202
  "override_browser_configuration": override_browser_configuration,
210
- "session_id": session_id,
211
- "task_session_id": task_session_id,
212
203
  "version": version,
213
204
  },
214
- run_execute_params.RunExecuteParams,
205
+ task_run_params.RunExecuteParams,
215
206
  ),
216
207
  options=make_request_options(
217
208
  extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
@@ -352,9 +343,7 @@ class AsyncTaskResource(AsyncAPIResource):
352
343
  task_id: str,
353
344
  async_: bool | Omit = omit,
354
345
  inputs: Dict[str, str] | Omit = omit,
355
- override_browser_configuration: run_execute_params.OverrideBrowserConfiguration | Omit = omit,
356
- session_id: str | Omit = omit,
357
- task_session_id: str | Omit = omit,
346
+ override_browser_configuration: task_run_params.OverrideBrowserConfiguration | Omit = omit,
358
347
  version: str | Omit = omit,
359
348
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
360
349
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -378,10 +367,6 @@ class AsyncTaskResource(AsyncAPIResource):
378
367
 
379
368
  override_browser_configuration: Override browser configuration for this execution
380
369
 
381
- session_id: Optional existing session ID to use
382
-
383
- task_session_id: Optional task-specific session ID
384
-
385
370
  version: Version to run (draft, latest, or version number)
386
371
 
387
372
  extra_headers: Send extra headers
@@ -400,11 +385,9 @@ class AsyncTaskResource(AsyncAPIResource):
400
385
  "async": async_,
401
386
  "inputs": inputs,
402
387
  "override_browser_configuration": override_browser_configuration,
403
- "session_id": session_id,
404
- "task_session_id": task_session_id,
405
388
  "version": version,
406
389
  },
407
- run_execute_params.RunExecuteParams,
390
+ task_run_params.RunExecuteParams,
408
391
  ),
409
392
  options=make_request_options(
410
393
  extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
@@ -5,7 +5,7 @@ from __future__ import annotations
5
5
  from typing import Dict, Union
6
6
  from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict
7
7
 
8
- from ..._utils import PropertyInfo
8
+ from .._utils import PropertyInfo
9
9
 
10
10
  __all__ = [
11
11
  "RunExecuteParams",
@@ -34,12 +34,6 @@ class RunExecuteParams(TypedDict, total=False):
34
34
  ]
35
35
  """Override browser configuration for this execution"""
36
36
 
37
- session_id: Annotated[str, PropertyInfo(alias="sessionId")]
38
- """Optional existing session ID to use"""
39
-
40
- task_session_id: Annotated[str, PropertyInfo(alias="taskSessionId")]
41
- """Optional task-specific session ID"""
42
-
43
37
  version: str
44
38
  """Version to run (draft, latest, or version number)"""
45
39
 
@@ -325,3 +319,4 @@ class OverrideBrowserConfiguration(TypedDict, total=False):
325
319
 
326
320
  timeout: OverrideBrowserConfigurationTimeout
327
321
  """Timeout configurations for the browser session."""
322
+
@@ -1,10 +1,12 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ from __future__ import annotations
4
+
3
5
  from typing import Optional
4
6
 
5
7
  from pydantic import Field as FieldInfo
6
8
 
7
- from ..._models import BaseModel
9
+ from .._models import BaseModel
8
10
 
9
11
  __all__ = ["RunExecuteResponse", "Data"]
10
12
 
@@ -31,3 +33,4 @@ class Data(BaseModel):
31
33
 
32
34
  class RunExecuteResponse(BaseModel):
33
35
  data: Optional[Data] = None
36
+
@@ -10,7 +10,7 @@ import pytest
10
10
  from tests.utils import assert_matches_type
11
11
  from anchorbrowser import Anchorbrowser, AsyncAnchorbrowser
12
12
  from anchorbrowser.types import TaskListResponse, TaskCreateResponse
13
- from anchorbrowser.types.task import RunExecuteResponse
13
+ from anchorbrowser.types.task_run_response import RunExecuteResponse
14
14
 
15
15
  base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
16
16
 
@@ -152,8 +152,6 @@ class TestTask:
152
152
  "max_duration": 0,
153
153
  },
154
154
  },
155
- session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
156
- task_session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
157
155
  version="1",
158
156
  )
159
157
  assert_matches_type(RunExecuteResponse, run, path=["response"])
@@ -196,8 +194,6 @@ class TestTask:
196
194
  "max_duration": 0,
197
195
  },
198
196
  },
199
- session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
200
- task_session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
201
197
  version="1",
202
198
  )
203
199
  assert_matches_type(RunExecuteResponse, run, path=["response"])
@@ -370,8 +366,6 @@ class TestAsyncTask:
370
366
  "max_duration": 0,
371
367
  },
372
368
  },
373
- session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
374
- task_session_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
375
369
  version="1",
376
370
  )
377
371
  assert_matches_type(RunExecuteResponse, run, path=["response"])
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.3.7"
3
- }
@@ -1,6 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from .run_execute_params import RunExecuteParams as RunExecuteParams
6
- from .run_execute_response import RunExecuteResponse as RunExecuteResponse
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes