apify-client 3.2.2b6__tar.gz → 3.2.2b8__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.
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/CHANGELOG.md +3 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/PKG-INFO +1 -1
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/pyproject.toml +1 -1
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/pyproject.toml.orig +1 -1
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/actor.py +39 -10
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/actor_collection.py +6 -4
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/dataset.py +6 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/CONTRIBUTING.md +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/LICENSE +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/README.md +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/__init__.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_apify_client.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_client_registry.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_consts.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_docs.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_literals.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_logging.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_models.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_pagination.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/__init__.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/_resource_client.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/actor_env_var.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/actor_env_var_collection.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/actor_version.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/actor_version_collection.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/build.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/build_collection.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/dataset_collection.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/key_value_store.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/key_value_store_collection.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/log.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/request_queue.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/request_queue_collection.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/run.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/run_collection.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/schedule.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/schedule_collection.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/store_collection.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/task.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/task_collection.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/user.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/webhook.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/webhook_collection.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/webhook_dispatch.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/webhook_dispatch_collection.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_statistics.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_status_message_watcher.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_streamed_log.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_typeddicts.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_utils/__init__.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_utils/crypto.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_utils/encoding.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_utils/errors.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_utils/http.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_utils/time.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_utils/try_import.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_utils/wait_for_resources.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/errors.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/http_clients/__init__.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/http_clients/_base.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/http_clients/_httpx2.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/http_clients/_impit.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/http_clients/_streamed_body.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/http_compressors/__init__.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/http_compressors/_base.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/http_compressors/_brotli.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/http_compressors/_gzip.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/http_compressors/_resolve.py +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/py.typed +0 -0
- {apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/types.py +0 -0
|
@@ -12,10 +12,13 @@ All notable changes to this project will be documented in this file.
|
|
|
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
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)
|
|
15
|
+
- Add flatten to dataset stream_items ([#1106](https://github.com/apify/apify-client-python/pull/1106)) ([1d1e9f6](https://github.com/apify/apify-client-python/commit/1d1e9f65e6fb6bf752f5dd552b9a2424c73f52fe)) by [@vdusek](https://github.com/vdusek), closes [#1100](https://github.com/apify/apify-client-python/issues/1100)
|
|
15
16
|
|
|
16
17
|
### 🐛 Bug Fixes
|
|
17
18
|
|
|
18
19
|
- Add missing `readme` field to `Profile` model ([#1086](https://github.com/apify/apify-client-python/pull/1086)) ([ae17148](https://github.com/apify/apify-client-python/commit/ae1714891c4f70d66ab4964c1783fee0a96776f1)) by [@apify-service-account](https://github.com/apify-service-account)
|
|
20
|
+
- Rename `build_tag` to `build` in `validate_input()` ([#1110](https://github.com/apify/apify-client-python/pull/1110)) ([0616e1a](https://github.com/apify/apify-client-python/commit/0616e1a0a5354f609eb5759f3729f6795a3192c4)) by [@vdusek](https://github.com/vdusek), closes [#1091](https://github.com/apify/apify-client-python/issues/1091)
|
|
21
|
+
- Type `example_run_input_body` as `str` ([#1105](https://github.com/apify/apify-client-python/pull/1105)) ([a1047fa](https://github.com/apify/apify-client-python/commit/a1047faee0c1065844b9639a47cb02422f9302ff)) by [@vdusek](https://github.com/vdusek), closes [#1102](https://github.com/apify/apify-client-python/issues/1102)
|
|
19
22
|
|
|
20
23
|
### ⚡ Performance
|
|
21
24
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
+
import warnings
|
|
3
4
|
from typing import TYPE_CHECKING, Any, Literal
|
|
4
5
|
|
|
5
6
|
from pydantic import TypeAdapter
|
|
@@ -119,7 +120,7 @@ class ActorClient(ResourceClient):
|
|
|
119
120
|
default_run_max_items: int | None = None,
|
|
120
121
|
default_run_memory_mbytes: int | None = None,
|
|
121
122
|
default_run_timeout: timedelta | None = None,
|
|
122
|
-
example_run_input_body:
|
|
123
|
+
example_run_input_body: str | None = None,
|
|
123
124
|
example_run_input_content_type: str | None = None,
|
|
124
125
|
actor_standby_is_enabled: bool | None = None,
|
|
125
126
|
actor_standby_desired_requests_per_actor_run: int | None = None,
|
|
@@ -155,7 +156,8 @@ class ActorClient(ResourceClient):
|
|
|
155
156
|
by runs of this Actor, if the Actor is charged per result.
|
|
156
157
|
default_run_memory_mbytes: Default amount of memory allocated for the runs of this Actor, in megabytes.
|
|
157
158
|
default_run_timeout: Default timeout for the runs of this Actor.
|
|
158
|
-
example_run_input_body: Input to be prefilled as default input to new users of this Actor
|
|
159
|
+
example_run_input_body: Input to be prefilled as default input to new users of this Actor, serialized
|
|
160
|
+
as a string (e.g. `json.dumps(input)` for a JSON input).
|
|
159
161
|
example_run_input_content_type: The content type of the example run input.
|
|
160
162
|
actor_standby_is_enabled: Whether the Actor Standby is enabled.
|
|
161
163
|
actor_standby_desired_requests_per_actor_run: The desired number of concurrent HTTP requests for
|
|
@@ -575,9 +577,10 @@ class ActorClient(ResourceClient):
|
|
|
575
577
|
self,
|
|
576
578
|
run_input: Any = None,
|
|
577
579
|
*,
|
|
578
|
-
|
|
580
|
+
build: str | None = None,
|
|
579
581
|
content_type: str | None = None,
|
|
580
582
|
timeout: Timeout = 'short',
|
|
583
|
+
build_tag: str | None = None,
|
|
581
584
|
) -> bool:
|
|
582
585
|
"""Validate an input for the Actor that defines an input schema.
|
|
583
586
|
|
|
@@ -586,13 +589,25 @@ class ActorClient(ResourceClient):
|
|
|
586
589
|
including an `io.IOBase` stream such as an open file, an iterable of byte chunks, or a streamed
|
|
587
590
|
`HttpResponse`, which are uploaded in chunks without being held in memory. Streaming is experimental,
|
|
588
591
|
and its behavior may change in future versions.
|
|
589
|
-
|
|
592
|
+
build: The Actor build to validate the input against. It can be either a build tag or build number. By
|
|
593
|
+
default, the build specified in the default run configuration for the Actor (typically latest) is used.
|
|
590
594
|
content_type: The content type of the input.
|
|
591
595
|
timeout: Timeout for the API HTTP request.
|
|
596
|
+
build_tag: Deprecated alias of `build`. Will be removed in v4.
|
|
592
597
|
|
|
593
598
|
Returns:
|
|
594
599
|
True if the input is valid, else raise an exception with validation error details.
|
|
595
600
|
"""
|
|
601
|
+
if build_tag is not None:
|
|
602
|
+
warnings.warn(
|
|
603
|
+
'The `build_tag` argument is deprecated and will be removed in v4. Use `build` instead.',
|
|
604
|
+
DeprecationWarning,
|
|
605
|
+
stacklevel=3,
|
|
606
|
+
)
|
|
607
|
+
if build is not None:
|
|
608
|
+
raise ValueError('Pass only one of `build` and `build_tag`.')
|
|
609
|
+
build = build_tag
|
|
610
|
+
|
|
596
611
|
run_input, content_type = encode_key_value_store_record_value(run_input, content_type=content_type)
|
|
597
612
|
|
|
598
613
|
self._http_client.call(
|
|
@@ -600,7 +615,7 @@ class ActorClient(ResourceClient):
|
|
|
600
615
|
method='POST',
|
|
601
616
|
headers={'content-type': content_type},
|
|
602
617
|
data=run_input,
|
|
603
|
-
params=self._build_params(build=
|
|
618
|
+
params=self._build_params(build=build),
|
|
604
619
|
timeout=timeout,
|
|
605
620
|
)
|
|
606
621
|
|
|
@@ -661,7 +676,7 @@ class ActorClientAsync(ResourceClientAsync):
|
|
|
661
676
|
default_run_max_items: int | None = None,
|
|
662
677
|
default_run_memory_mbytes: int | None = None,
|
|
663
678
|
default_run_timeout: timedelta | None = None,
|
|
664
|
-
example_run_input_body:
|
|
679
|
+
example_run_input_body: str | None = None,
|
|
665
680
|
example_run_input_content_type: str | None = None,
|
|
666
681
|
actor_standby_is_enabled: bool | None = None,
|
|
667
682
|
actor_standby_desired_requests_per_actor_run: int | None = None,
|
|
@@ -697,7 +712,8 @@ class ActorClientAsync(ResourceClientAsync):
|
|
|
697
712
|
by runs of this Actor, if the Actor is charged per result.
|
|
698
713
|
default_run_memory_mbytes: Default amount of memory allocated for the runs of this Actor, in megabytes.
|
|
699
714
|
default_run_timeout: Default timeout for the runs of this Actor.
|
|
700
|
-
example_run_input_body: Input to be prefilled as default input to new users of this Actor
|
|
715
|
+
example_run_input_body: Input to be prefilled as default input to new users of this Actor, serialized
|
|
716
|
+
as a string (e.g. `json.dumps(input)` for a JSON input).
|
|
701
717
|
example_run_input_content_type: The content type of the example run input.
|
|
702
718
|
actor_standby_is_enabled: Whether the Actor Standby is enabled.
|
|
703
719
|
actor_standby_desired_requests_per_actor_run: The desired number of concurrent HTTP requests for
|
|
@@ -1118,9 +1134,10 @@ class ActorClientAsync(ResourceClientAsync):
|
|
|
1118
1134
|
self,
|
|
1119
1135
|
run_input: Any = None,
|
|
1120
1136
|
*,
|
|
1121
|
-
|
|
1137
|
+
build: str | None = None,
|
|
1122
1138
|
content_type: str | None = None,
|
|
1123
1139
|
timeout: Timeout = 'short',
|
|
1140
|
+
build_tag: str | None = None,
|
|
1124
1141
|
) -> bool:
|
|
1125
1142
|
"""Validate an input for the Actor that defines an input schema.
|
|
1126
1143
|
|
|
@@ -1129,13 +1146,25 @@ class ActorClientAsync(ResourceClientAsync):
|
|
|
1129
1146
|
including an `io.IOBase` stream such as an open file, an iterable of byte chunks, or a streamed
|
|
1130
1147
|
`HttpResponse`, which are uploaded in chunks without being held in memory. Streaming is experimental,
|
|
1131
1148
|
and its behavior may change in future versions.
|
|
1132
|
-
|
|
1149
|
+
build: The Actor build to validate the input against. It can be either a build tag or build number. By
|
|
1150
|
+
default, the build specified in the default run configuration for the Actor (typically latest) is used.
|
|
1133
1151
|
content_type: The content type of the input.
|
|
1134
1152
|
timeout: Timeout for the API HTTP request.
|
|
1153
|
+
build_tag: Deprecated alias of `build`. Will be removed in v4.
|
|
1135
1154
|
|
|
1136
1155
|
Returns:
|
|
1137
1156
|
True if the input is valid, else raise an exception with validation error details.
|
|
1138
1157
|
"""
|
|
1158
|
+
if build_tag is not None:
|
|
1159
|
+
warnings.warn(
|
|
1160
|
+
'The `build_tag` argument is deprecated and will be removed in v4. Use `build` instead.',
|
|
1161
|
+
DeprecationWarning,
|
|
1162
|
+
stacklevel=3,
|
|
1163
|
+
)
|
|
1164
|
+
if build is not None:
|
|
1165
|
+
raise ValueError('Pass only one of `build` and `build_tag`.')
|
|
1166
|
+
build = build_tag
|
|
1167
|
+
|
|
1139
1168
|
run_input, content_type = encode_key_value_store_record_value(run_input, content_type=content_type)
|
|
1140
1169
|
|
|
1141
1170
|
await self._http_client.call(
|
|
@@ -1143,7 +1172,7 @@ class ActorClientAsync(ResourceClientAsync):
|
|
|
1143
1172
|
method='POST',
|
|
1144
1173
|
headers={'content-type': content_type},
|
|
1145
1174
|
data=run_input,
|
|
1146
|
-
params=self._build_params(build=
|
|
1175
|
+
params=self._build_params(build=build),
|
|
1147
1176
|
timeout=timeout,
|
|
1148
1177
|
)
|
|
1149
1178
|
|
{apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/actor_collection.py
RENAMED
|
@@ -123,7 +123,7 @@ class ActorCollectionClient(ResourceClient):
|
|
|
123
123
|
default_run_max_items: int | None = None,
|
|
124
124
|
default_run_memory_mbytes: int | None = None,
|
|
125
125
|
default_run_timeout: timedelta | None = None,
|
|
126
|
-
example_run_input_body:
|
|
126
|
+
example_run_input_body: str | None = None,
|
|
127
127
|
example_run_input_content_type: str | None = None,
|
|
128
128
|
actor_standby_is_enabled: bool | None = None,
|
|
129
129
|
actor_standby_desired_requests_per_actor_run: int | None = None,
|
|
@@ -156,7 +156,8 @@ class ActorCollectionClient(ResourceClient):
|
|
|
156
156
|
of this Actor, if the Actor is charged per result.
|
|
157
157
|
default_run_memory_mbytes: Default amount of memory allocated for the runs of this Actor, in megabytes.
|
|
158
158
|
default_run_timeout: Default timeout for the runs of this Actor.
|
|
159
|
-
example_run_input_body: Input to be prefilled as default input to new users of this Actor
|
|
159
|
+
example_run_input_body: Input to be prefilled as default input to new users of this Actor, serialized
|
|
160
|
+
as a string (e.g. `json.dumps(input)` for a JSON input).
|
|
160
161
|
example_run_input_content_type: The content type of the example run input.
|
|
161
162
|
actor_standby_is_enabled: Whether the Actor Standby is enabled.
|
|
162
163
|
actor_standby_desired_requests_per_actor_run: The desired number of concurrent HTTP requests for
|
|
@@ -310,7 +311,7 @@ class ActorCollectionClientAsync(ResourceClientAsync):
|
|
|
310
311
|
default_run_max_items: int | None = None,
|
|
311
312
|
default_run_memory_mbytes: int | None = None,
|
|
312
313
|
default_run_timeout: timedelta | None = None,
|
|
313
|
-
example_run_input_body:
|
|
314
|
+
example_run_input_body: str | None = None,
|
|
314
315
|
example_run_input_content_type: str | None = None,
|
|
315
316
|
actor_standby_is_enabled: bool | None = None,
|
|
316
317
|
actor_standby_desired_requests_per_actor_run: int | None = None,
|
|
@@ -343,7 +344,8 @@ class ActorCollectionClientAsync(ResourceClientAsync):
|
|
|
343
344
|
of this Actor, if the Actor is charged per result.
|
|
344
345
|
default_run_memory_mbytes: Default amount of memory allocated for the runs of this Actor, in megabytes.
|
|
345
346
|
default_run_timeout: Default timeout for the runs of this Actor.
|
|
346
|
-
example_run_input_body: Input to be prefilled as default input to new users of this Actor
|
|
347
|
+
example_run_input_body: Input to be prefilled as default input to new users of this Actor, serialized
|
|
348
|
+
as a string (e.g. `json.dumps(input)` for a JSON input).
|
|
347
349
|
example_run_input_content_type: The content type of the example run input.
|
|
348
350
|
actor_standby_is_enabled: Whether the Actor Standby is enabled.
|
|
349
351
|
actor_standby_desired_requests_per_actor_run: The desired number of concurrent HTTP requests for
|
|
@@ -402,6 +402,7 @@ class DatasetClient(ResourceClient):
|
|
|
402
402
|
skip_hidden: bool | None = None,
|
|
403
403
|
xml_root: str | None = None,
|
|
404
404
|
xml_row: str | None = None,
|
|
405
|
+
flatten: list[str] | None = None,
|
|
405
406
|
signature: str | None = None,
|
|
406
407
|
timeout: Timeout = 'long',
|
|
407
408
|
) -> Iterator[HttpResponse]:
|
|
@@ -445,6 +446,7 @@ class DatasetClient(ResourceClient):
|
|
|
445
446
|
xml_root: Overrides default root element name of xml output. By default the root element is items.
|
|
446
447
|
xml_row: Overrides default element name that wraps each page or page function result object in xml output.
|
|
447
448
|
By default the element name is item.
|
|
449
|
+
flatten: A list of fields that should be flattened.
|
|
448
450
|
signature: Signature used to access the items.
|
|
449
451
|
timeout: Timeout for the API HTTP request.
|
|
450
452
|
|
|
@@ -469,6 +471,7 @@ class DatasetClient(ResourceClient):
|
|
|
469
471
|
skipHidden=skip_hidden,
|
|
470
472
|
xmlRoot=xml_root,
|
|
471
473
|
xmlRow=xml_row,
|
|
474
|
+
flatten=flatten,
|
|
472
475
|
signature=signature,
|
|
473
476
|
)
|
|
474
477
|
|
|
@@ -964,6 +967,7 @@ class DatasetClientAsync(ResourceClientAsync):
|
|
|
964
967
|
skip_hidden: bool | None = None,
|
|
965
968
|
xml_root: str | None = None,
|
|
966
969
|
xml_row: str | None = None,
|
|
970
|
+
flatten: list[str] | None = None,
|
|
967
971
|
signature: str | None = None,
|
|
968
972
|
timeout: Timeout = 'long',
|
|
969
973
|
) -> AsyncIterator[HttpResponse]:
|
|
@@ -1007,6 +1011,7 @@ class DatasetClientAsync(ResourceClientAsync):
|
|
|
1007
1011
|
xml_root: Overrides default root element name of xml output. By default the root element is items.
|
|
1008
1012
|
xml_row: Overrides default element name that wraps each page or page function result object in xml output.
|
|
1009
1013
|
By default the element name is item.
|
|
1014
|
+
flatten: A list of fields that should be flattened.
|
|
1010
1015
|
signature: Signature used to access the items.
|
|
1011
1016
|
timeout: Timeout for the API HTTP request.
|
|
1012
1017
|
|
|
@@ -1031,6 +1036,7 @@ class DatasetClientAsync(ResourceClientAsync):
|
|
|
1031
1036
|
skipHidden=skip_hidden,
|
|
1032
1037
|
xmlRoot=xml_root,
|
|
1033
1038
|
xmlRow=xml_row,
|
|
1039
|
+
flatten=flatten,
|
|
1034
1040
|
signature=signature,
|
|
1035
1041
|
)
|
|
1036
1042
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/__init__.py
RENAMED
|
File without changes
|
{apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/_resource_client.py
RENAMED
|
File without changes
|
{apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/actor_env_var.py
RENAMED
|
File without changes
|
|
File without changes
|
{apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/actor_version.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/build_collection.py
RENAMED
|
File without changes
|
|
File without changes
|
{apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/key_value_store.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/request_queue.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/run_collection.py
RENAMED
|
File without changes
|
{apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/schedule.py
RENAMED
|
File without changes
|
|
File without changes
|
{apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/store_collection.py
RENAMED
|
File without changes
|
|
File without changes
|
{apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/task_collection.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/_resource_clients/webhook_dispatch.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{apify_client-3.2.2b6 → apify_client-3.2.2b8}/src/apify_client/http_clients/_streamed_body.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|