Skip to content
Merged
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions src/apify_client/clients/resource_clients/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def list_items(
'limit': int(
response.headers['x-apify-pagination-limit']
), # API returns 999999999999 when no limit is used
'desc': bool(response.headers['x-apify-pagination-desc']),
'desc': response.headers['x-apify-pagination-desc'].lower() == 'true',
}
)

Expand Down Expand Up @@ -769,7 +769,7 @@ async def list_items(
'limit': int(
response.headers['x-apify-pagination-limit']
), # API returns 999999999999 when no limit is used
'desc': bool(response.headers['x-apify-pagination-desc']),
'desc': response.headers['x-apify-pagination-desc'].lower() == 'true',
}
)

Expand Down