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_v0x.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,14 +49,16 @@ Example update:
49
49
### Service locator
50
50
51
51
- The `crawlee.service_container` was completely refactored and renamed to `crawlee.service_locator`.
52
+
- You can use it to set the configuration, event manager or storage client globally. Or you can pass them to your crawler instance directly and it will use the service locator under the hood.
52
53
53
54
### Statistics
54
55
55
56
- The `crawlee.statistics.Statistics` class do not accept an event manager as an input argument anymore. It uses the default, global one.
57
+
- If you want to set your custom event manager, do it either via the service locator or pass it to the crawler.
56
58
57
59
### Request
58
60
59
-
-Removed properties `json_` and `order_no`.
61
+
-The properties `json_` and `order_no` were removed. They were there only for the internal purpose of the memory storage client, you should not need them.
0 commit comments