apify-client 3.2.2b5__tar.gz → 3.2.2b6__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 (70) hide show
  1. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/CHANGELOG.md +1 -0
  2. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/PKG-INFO +1 -1
  3. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/pyproject.toml +1 -1
  4. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/pyproject.toml.orig +1 -1
  5. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/actor.py +16 -0
  6. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/actor_collection.py +16 -0
  7. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/log.py +14 -0
  8. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/CONTRIBUTING.md +0 -0
  9. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/LICENSE +0 -0
  10. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/README.md +0 -0
  11. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/__init__.py +0 -0
  12. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_apify_client.py +0 -0
  13. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_client_registry.py +0 -0
  14. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_consts.py +0 -0
  15. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_docs.py +0 -0
  16. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_literals.py +0 -0
  17. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_logging.py +0 -0
  18. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_models.py +0 -0
  19. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_pagination.py +0 -0
  20. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/__init__.py +0 -0
  21. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/_resource_client.py +0 -0
  22. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/actor_env_var.py +0 -0
  23. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/actor_env_var_collection.py +0 -0
  24. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/actor_version.py +0 -0
  25. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/actor_version_collection.py +0 -0
  26. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/build.py +0 -0
  27. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/build_collection.py +0 -0
  28. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/dataset.py +0 -0
  29. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/dataset_collection.py +0 -0
  30. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/key_value_store.py +0 -0
  31. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/key_value_store_collection.py +0 -0
  32. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/request_queue.py +0 -0
  33. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/request_queue_collection.py +0 -0
  34. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/run.py +0 -0
  35. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/run_collection.py +0 -0
  36. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/schedule.py +0 -0
  37. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/schedule_collection.py +0 -0
  38. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/store_collection.py +0 -0
  39. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/task.py +0 -0
  40. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/task_collection.py +0 -0
  41. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/user.py +0 -0
  42. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/webhook.py +0 -0
  43. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/webhook_collection.py +0 -0
  44. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/webhook_dispatch.py +0 -0
  45. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_resource_clients/webhook_dispatch_collection.py +0 -0
  46. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_statistics.py +0 -0
  47. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_status_message_watcher.py +0 -0
  48. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_streamed_log.py +0 -0
  49. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_typeddicts.py +0 -0
  50. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_utils/__init__.py +0 -0
  51. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_utils/crypto.py +0 -0
  52. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_utils/encoding.py +0 -0
  53. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_utils/errors.py +0 -0
  54. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_utils/http.py +0 -0
  55. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_utils/time.py +0 -0
  56. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_utils/try_import.py +0 -0
  57. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/_utils/wait_for_resources.py +0 -0
  58. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/errors.py +0 -0
  59. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/http_clients/__init__.py +0 -0
  60. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/http_clients/_base.py +0 -0
  61. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/http_clients/_httpx2.py +0 -0
  62. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/http_clients/_impit.py +0 -0
  63. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/http_clients/_streamed_body.py +0 -0
  64. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/http_compressors/__init__.py +0 -0
  65. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/http_compressors/_base.py +0 -0
  66. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/http_compressors/_brotli.py +0 -0
  67. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/http_compressors/_gzip.py +0 -0
  68. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/http_compressors/_resolve.py +0 -0
  69. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/py.typed +0 -0
  70. {apify_client-3.2.2b5 → apify_client-3.2.2b6}/src/apify_client/types.py +0 -0
@@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
11
11
  - Retry starting a run on memory and concurrent-runs limits ([#1081](https://github.com/apify/apify-client-python/pull/1081)) ([3dd8ca5](https://github.com/apify/apify-client-python/commit/3dd8ca5fe4d2537cb009cb310ba12b39927a9558)) by [@vdusek](https://github.com/vdusek), closes [#1071](https://github.com/apify/apify-client-python/issues/1071)
12
12
  - Add live iteration over a run's dataset items ([#1079](https://github.com/apify/apify-client-python/pull/1079)) ([6aa8ead](https://github.com/apify/apify-client-python/commit/6aa8ead676a3520f6a418597eb62f319a3d19d30)) by [@vdusek](https://github.com/vdusek), closes [#1065](https://github.com/apify/apify-client-python/issues/1065)
13
13
  - Add max_total_charge_usd to task start() and call() ([#1097](https://github.com/apify/apify-client-python/pull/1097)) ([966d3d6](https://github.com/apify/apify-client-python/commit/966d3d687d8d45737bf706fb13de379e682897d5)) by [@vdusek](https://github.com/vdusek), closes [#1096](https://github.com/apify/apify-client-python/issues/1096)
14
+ - Add missing Standby fields to Actor update and create ([#1107](https://github.com/apify/apify-client-python/pull/1107)) ([8dd5b67](https://github.com/apify/apify-client-python/commit/8dd5b678d1440143f47dc57e29d6a2ef251d041d)) by [@vdusek](https://github.com/vdusek), closes [#1101](https://github.com/apify/apify-client-python/issues/1101)
14
15
 
15
16
  ### 🐛 Bug Fixes
16
17
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apify_client
3
- Version: 3.2.2b5
3
+ Version: 3.2.2b6
4
4
  Summary: Apify API client for Python
5
5
  Keywords: apify,api,client,automation,crawling,scraping
6
6
  Author: Apify Technologies s.r.o.
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "apify_client"
7
- version = "3.2.2b5"
7
+ version = "3.2.2b6"
8
8
  description = "Apify API client for Python"
9
9
  license = "Apache-2.0"
10
10
  license-files = ["LICENSE"]
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "apify_client"
7
- version = "3.2.2b5"
7
+ version = "3.2.2b6"
8
8
  description = "Apify API client for Python"
9
9
  authors = [{ name = "Apify Technologies s.r.o.", email = "support@apify.com" }]
10
10
  license = "Apache-2.0"
@@ -127,6 +127,8 @@ class ActorClient(ResourceClient):
127
127
  actor_standby_idle_timeout: timedelta | None = None,
128
128
  actor_standby_build: str | None = None,
129
129
  actor_standby_memory_mbytes: int | None = None,
130
+ actor_standby_disable_standby_fields_override: bool | None = None,
131
+ actor_standby_should_pass_actor_input: bool | None = None,
130
132
  pricing_infos: list[dict[str, Any]] | None = None,
131
133
  actor_permission_level: ActorPermissionLevel | None = None,
132
134
  tagged_builds: dict[str, dict[str, str] | None] | None = None,
@@ -164,6 +166,10 @@ class ActorClient(ResourceClient):
164
166
  it will be shut down.
165
167
  actor_standby_build: The build tag or number to run when the Actor is in Standby mode.
166
168
  actor_standby_memory_mbytes: The memory in megabytes to use when the Actor is in Standby mode.
169
+ actor_standby_disable_standby_fields_override: If true, prevents the Standby configuration from being
170
+ overridden elsewhere.
171
+ actor_standby_should_pass_actor_input: Whether to pass the Actor input to the Standby runs. If false,
172
+ the Standby runs start with no input.
167
173
  pricing_infos: A list of objects that describes the pricing of the Actor.
168
174
  actor_permission_level: The permission level of the Actor on Apify platform.
169
175
  tagged_builds: A dictionary mapping build tag names to their settings. Use it to create, update,
@@ -200,6 +206,8 @@ class ActorClient(ResourceClient):
200
206
  idle_timeout_secs=to_seconds(actor_standby_idle_timeout, as_int=True),
201
207
  build=actor_standby_build,
202
208
  memory_mbytes=actor_standby_memory_mbytes,
209
+ disable_standby_fields_override=actor_standby_disable_standby_fields_override,
210
+ should_pass_actor_input=actor_standby_should_pass_actor_input,
203
211
  ),
204
212
  example_run_input=ExampleRunInput(
205
213
  body=example_run_input_body,
@@ -661,6 +669,8 @@ class ActorClientAsync(ResourceClientAsync):
661
669
  actor_standby_idle_timeout: timedelta | None = None,
662
670
  actor_standby_build: str | None = None,
663
671
  actor_standby_memory_mbytes: int | None = None,
672
+ actor_standby_disable_standby_fields_override: bool | None = None,
673
+ actor_standby_should_pass_actor_input: bool | None = None,
664
674
  pricing_infos: list[dict[str, Any]] | None = None,
665
675
  actor_permission_level: ActorPermissionLevel | None = None,
666
676
  tagged_builds: dict[str, dict[str, str] | None] | None = None,
@@ -698,6 +708,10 @@ class ActorClientAsync(ResourceClientAsync):
698
708
  it will be shut down.
699
709
  actor_standby_build: The build tag or number to run when the Actor is in Standby mode.
700
710
  actor_standby_memory_mbytes: The memory in megabytes to use when the Actor is in Standby mode.
711
+ actor_standby_disable_standby_fields_override: If true, prevents the Standby configuration from being
712
+ overridden elsewhere.
713
+ actor_standby_should_pass_actor_input: Whether to pass the Actor input to the Standby runs. If false,
714
+ the Standby runs start with no input.
701
715
  pricing_infos: A list of objects that describes the pricing of the Actor.
702
716
  actor_permission_level: The permission level of the Actor on Apify platform.
703
717
  tagged_builds: A dictionary mapping build tag names to their settings. Use it to create, update,
@@ -734,6 +748,8 @@ class ActorClientAsync(ResourceClientAsync):
734
748
  idle_timeout_secs=to_seconds(actor_standby_idle_timeout, as_int=True),
735
749
  build=actor_standby_build,
736
750
  memory_mbytes=actor_standby_memory_mbytes,
751
+ disable_standby_fields_override=actor_standby_disable_standby_fields_override,
752
+ should_pass_actor_input=actor_standby_should_pass_actor_input,
737
753
  ),
738
754
  example_run_input=ExampleRunInput(
739
755
  body=example_run_input_body,
@@ -131,6 +131,8 @@ class ActorCollectionClient(ResourceClient):
131
131
  actor_standby_idle_timeout: timedelta | None = None,
132
132
  actor_standby_build: str | None = None,
133
133
  actor_standby_memory_mbytes: int | None = None,
134
+ actor_standby_disable_standby_fields_override: bool | None = None,
135
+ actor_standby_should_pass_actor_input: bool | None = None,
134
136
  timeout: Timeout = 'medium',
135
137
  ) -> Actor:
136
138
  """Create a new Actor.
@@ -165,6 +167,10 @@ class ActorCollectionClient(ResourceClient):
165
167
  it will be shut down.
166
168
  actor_standby_build: The build tag or number to run when the Actor is in Standby mode.
167
169
  actor_standby_memory_mbytes: The memory in megabytes to use when the Actor is in Standby mode.
170
+ actor_standby_disable_standby_fields_override: If true, prevents the Standby configuration from being
171
+ overridden elsewhere.
172
+ actor_standby_should_pass_actor_input: Whether to pass the Actor input to the Standby runs. If false,
173
+ the Standby runs start with no input.
168
174
  timeout: Timeout for the API HTTP request.
169
175
 
170
176
  Returns:
@@ -194,6 +200,8 @@ class ActorCollectionClient(ResourceClient):
194
200
  idle_timeout_secs=to_seconds(actor_standby_idle_timeout, as_int=True),
195
201
  build=actor_standby_build,
196
202
  memory_mbytes=actor_standby_memory_mbytes,
203
+ disable_standby_fields_override=actor_standby_disable_standby_fields_override,
204
+ should_pass_actor_input=actor_standby_should_pass_actor_input,
197
205
  ),
198
206
  example_run_input=ExampleRunInput(
199
207
  body=example_run_input_body,
@@ -310,6 +318,8 @@ class ActorCollectionClientAsync(ResourceClientAsync):
310
318
  actor_standby_idle_timeout: timedelta | None = None,
311
319
  actor_standby_build: str | None = None,
312
320
  actor_standby_memory_mbytes: int | None = None,
321
+ actor_standby_disable_standby_fields_override: bool | None = None,
322
+ actor_standby_should_pass_actor_input: bool | None = None,
313
323
  timeout: Timeout = 'medium',
314
324
  ) -> Actor:
315
325
  """Create a new Actor.
@@ -344,6 +354,10 @@ class ActorCollectionClientAsync(ResourceClientAsync):
344
354
  it will be shut down.
345
355
  actor_standby_build: The build tag or number to run when the Actor is in Standby mode.
346
356
  actor_standby_memory_mbytes: The memory in megabytes to use when the Actor is in Standby mode.
357
+ actor_standby_disable_standby_fields_override: If true, prevents the Standby configuration from being
358
+ overridden elsewhere.
359
+ actor_standby_should_pass_actor_input: Whether to pass the Actor input to the Standby runs. If false,
360
+ the Standby runs start with no input.
347
361
  timeout: Timeout for the API HTTP request.
348
362
 
349
363
  Returns:
@@ -373,6 +387,8 @@ class ActorCollectionClientAsync(ResourceClientAsync):
373
387
  idle_timeout_secs=to_seconds(actor_standby_idle_timeout, as_int=True),
374
388
  build=actor_standby_build,
375
389
  memory_mbytes=actor_standby_memory_mbytes,
390
+ disable_standby_fields_override=actor_standby_disable_standby_fields_override,
391
+ should_pass_actor_input=actor_standby_should_pass_actor_input,
376
392
  ),
377
393
  example_run_input=ExampleRunInput(
378
394
  body=example_run_input_body,
@@ -69,6 +69,10 @@ class LogClient(ResourceClient):
69
69
 
70
70
  https://docs.apify.com/api/v2#/reference/logs/log/get-log
71
71
 
72
+ 404s collapse to `None` only when this client targets a specific log by ID (e.g.
73
+ `client.log(run_id).get_as_bytes()`). For chained clients without a `resource_id` (e.g.
74
+ `run.log().get_as_bytes()`), a 404 is ambiguous and propagates.
75
+
72
76
  Args:
73
77
  raw: If true, the log will include formatting. For example, coloring character sequences.
74
78
  timeout: Timeout for the API HTTP request.
@@ -97,6 +101,9 @@ class LogClient(ResourceClient):
97
101
 
98
102
  https://docs.apify.com/api/v2#/reference/logs/log/get-log
99
103
 
104
+ 404s collapse to `None` only when this client targets a specific log by ID (e.g. `client.log(run_id).stream()`).
105
+ For chained clients without a `resource_id` (e.g. `run.log().stream()`), a 404 is ambiguous and propagates.
106
+
100
107
  Args:
101
108
  raw: If true, the log will include formatting. For example, coloring character sequences.
102
109
  timeout: Timeout for the API HTTP request.
@@ -177,6 +184,10 @@ class LogClientAsync(ResourceClientAsync):
177
184
 
178
185
  https://docs.apify.com/api/v2#/reference/logs/log/get-log
179
186
 
187
+ 404s collapse to `None` only when this client targets a specific log by ID (e.g.
188
+ `client.log(run_id).get_as_bytes()`). For chained clients without a `resource_id` (e.g.
189
+ `run.log().get_as_bytes()`), a 404 is ambiguous and propagates.
190
+
180
191
  Args:
181
192
  raw: If true, the log will include formatting. For example, coloring character sequences.
182
193
  timeout: Timeout for the API HTTP request.
@@ -205,6 +216,9 @@ class LogClientAsync(ResourceClientAsync):
205
216
 
206
217
  https://docs.apify.com/api/v2#/reference/logs/log/get-log
207
218
 
219
+ 404s collapse to `None` only when this client targets a specific log by ID (e.g. `client.log(run_id).stream()`).
220
+ For chained clients without a `resource_id` (e.g. `run.log().stream()`), a 404 is ambiguous and propagates.
221
+
208
222
  Args:
209
223
  raw: If true, the log will include formatting. For example, coloring character sequences.
210
224
  timeout: Timeout for the API HTTP request.
File without changes
File without changes