You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/04_upgrading/upgrading_to_v3.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,7 @@ async def main():
111
111
- It is now possible to have full control over which storage clients are used by the `Actor`. To make development of Actors convenient, the `Actor` has two storage clients. One that is used when running on Apify platform or when opening storages with `force_cloud=True` and the other client that is used when running outside the Apify platform. The `Actor` has reasonable defaults and for the majority of use-cases there is no need to change it. However, if you need to use a different storage client, you can set it up before entering `Actor` context through `service_locator`.
112
112
113
113
**Now (v3.0):**
114
+
114
115
```python
115
116
from crawlee import service_locator
116
117
from apify.storage_clients import ApifyStorageClient, ApifyHybridStorageClient, MemoryStorageClient
## The default use of optimized ApifyRequestQueueClient
133
134
134
135
- The default client for working with Apify platform based `RequestQueue` is now optimized and simplified client which does significantly lower amount of API calls, but does not support multiple consumers working on the same queue. It is cheaper and faster and is suitable for the majority of the use cases.
135
-
- The full client is still available, but it has to be explicitly requested via `access="shared"` argument when using the `ApifyStorageClient`.
136
+
- The full client is still available, but it has to be explicitly requested via `request_queue_access="shared"` argument when using the `ApifyStorageClient`.
136
137
137
138
**Now (v3.0):**
138
139
@@ -141,9 +142,10 @@ from crawlee import service_locator
141
142
from apify.storage_clients import ApifyStorageClient
142
143
from apify import Actor
143
144
145
+
144
146
asyncdefmain():
145
-
# Full client that supports multiple consumers of the Apify Request Queue
0 commit comments