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/upgrading/upgrading_to_v1.md
+4-41Lines changed: 4 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,50 +214,13 @@ service_locator.set_storage_client(MemoryStorageClient()) # Raises an error
214
214
215
215
## BasicCrawler changes
216
216
217
-
### Renamed methods for opening storages
218
-
-`BasicCrawler.get_dataset`renamed to `BasicCrawler.open_dataset`
219
-
-`BasicCrawler.get_key_value_store`renamed to `BasicCrawler.open_key_value_store`
217
+
### Removed helper methods for opening storages
218
+
-`BasicCrawler.get_dataset`was removed.
219
+
-`BasicCrawler.get_key_value_store`was removed.
220
220
221
-
### Added method for opening RequestQueue that uses configuration and storage client of the crawler
222
-
-`BasicCrawler.open_request_queue`
223
221
224
222
### BasicCrawler has its own instance of ServiceLocator to track its own services
225
-
Explicitly passed services to the crawler can be different the global ones accessible in `crawlee.service_locator`. `BasicCrawler` no longer causes the global services in `service_locator` to be set to the crawler's explicitly passed services.
226
-
227
-
**Before (v0.6):**
228
-
229
-
```python
230
-
from crawlee import service_locator
231
-
from crawlee.crawlers import BasicCrawler
232
-
from crawlee.storage_clients import MemoryStorageClient
This allows two crawlers with different services at the same time.
223
+
Explicitly passed services to the crawler can be different the global ones accessible in `crawlee.service_locator`. `BasicCrawler` no longer causes the global services in `service_locator` to be set to the crawler's explicitly passed services. This allows two crawlers with different services at the same time.
0 commit comments