File tree Expand file tree Collapse file tree 4 files changed +1
-5
lines changed
src/crawlee/storage_clients Expand file tree Collapse file tree 4 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ destination you choose.
174
174
- The ` set_metadata ` method has been removed.
175
175
- ` resource_directory ` from ` RequestQueueMetadata ` removed – use ` path_to_... ` property.
176
176
- ` RequestQueueHead ` model replaced with ` RequestQueueHeadWithLocks ` .
177
+ - The ` stats ` field was removed from ` RequestQueueMetadata ` as it wasn't used for anything.
177
178
178
179
## New default HTTP client
179
180
Original file line number Diff line number Diff line change @@ -246,7 +246,6 @@ async def open(
246
246
had_multiple_clients = False ,
247
247
handled_request_count = 0 ,
248
248
pending_request_count = 0 ,
249
- stats = {},
250
249
total_request_count = 0 ,
251
250
)
252
251
client = cls (
Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ async def open(
93
93
had_multiple_clients = False ,
94
94
handled_request_count = 0 ,
95
95
pending_request_count = 0 ,
96
- stats = {},
97
96
total_request_count = 0 ,
98
97
)
99
98
Original file line number Diff line number Diff line change @@ -70,9 +70,6 @@ class RequestQueueMetadata(StorageMetadata):
70
70
pending_request_count : Annotated [int , Field (alias = 'pendingRequestCount' )]
71
71
"""The number of requests that are still pending in the queue."""
72
72
73
- stats : Annotated [dict , Field (alias = 'stats' )]
74
- """Statistics about the request queue, TODO?"""
75
-
76
73
total_request_count : Annotated [int , Field (alias = 'totalRequestCount' )]
77
74
"""The total number of requests that have been added to the queue."""
78
75
You can’t perform that action at this time.
0 commit comments