Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/upgrading/upgrading_to_v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ destination you choose.
- The `set_metadata` method has been removed.
- `resource_directory` from `RequestQueueMetadata` removed – use `path_to_...` property.
- `RequestQueueHead` model replaced with `RequestQueueHeadWithLocks`.
- The `stats` field was removed from `RequestQueueMetadata` as it wasn't used for anything.

## New default HTTP client

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ async def open(
had_multiple_clients=False,
handled_request_count=0,
pending_request_count=0,
stats={},
total_request_count=0,
)
client = cls(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ async def open(
had_multiple_clients=False,
handled_request_count=0,
pending_request_count=0,
stats={},
total_request_count=0,
)

Expand Down
3 changes: 0 additions & 3 deletions src/crawlee/storage_clients/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ class RequestQueueMetadata(StorageMetadata):
pending_request_count: Annotated[int, Field(alias='pendingRequestCount')]
"""The number of requests that are still pending in the queue."""

stats: Annotated[dict, Field(alias='stats')]
"""Statistics about the request queue, TODO?"""

total_request_count: Annotated[int, Field(alias='totalRequestCount')]
"""The total number of requests that have been added to the queue."""

Expand Down
Loading