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.
174174- The ` set_metadata ` method has been removed.
175175- ` resource_directory ` from ` RequestQueueMetadata ` removed – use ` path_to_... ` property.
176176- ` RequestQueueHead ` model replaced with ` RequestQueueHeadWithLocks ` .
177+ - The ` stats ` field was removed from ` RequestQueueMetadata ` as it wasn't used for anything.
177178
178179## New default HTTP client
179180
Original file line number Diff line number Diff line change @@ -246,7 +246,6 @@ async def open(
246246 had_multiple_clients = False ,
247247 handled_request_count = 0 ,
248248 pending_request_count = 0 ,
249- stats = {},
250249 total_request_count = 0 ,
251250 )
252251 client = cls (
Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ async def open(
9393 had_multiple_clients = False ,
9494 handled_request_count = 0 ,
9595 pending_request_count = 0 ,
96- stats = {},
9796 total_request_count = 0 ,
9897 )
9998
Original file line number Diff line number Diff line change @@ -70,9 +70,6 @@ class RequestQueueMetadata(StorageMetadata):
7070 pending_request_count : Annotated [int , Field (alias = 'pendingRequestCount' )]
7171 """The number of requests that are still pending in the queue."""
7272
73- stats : Annotated [dict , Field (alias = 'stats' )]
74- """Statistics about the request queue, TODO?"""
75-
7673 total_request_count : Annotated [int , Field (alias = 'totalRequestCount' )]
7774 """The total number of requests that have been added to the queue."""
7875
You can’t perform that action at this time.
0 commit comments