dlt version
1.20
Describe the problem
When the has_more option was added to OffsetPaginator, I missed an update to the typing for OffsetPaginatorConfig to allow this configuration via dictionary.
Expected behavior
Support for OffsetPaginator.has_more_path as follows:
resource = {
"endpoint": {
"paginator": {
"type": "offset",
"has_more_path": "hasMore",
},
}
}
Steps to reproduce
Configure RestAPI resource with paginator configuration:
resource = {
"endpoint": {
"paginator": {
"type": "offset",
"has_more_path": "hasMore",
},
}
}
Operating system
Linux
Runtime environment
Docker, Docker Compose
Python version
3.12
dlt data source
RestAPI
dlt destination
Google BigQuery
Other deployment details
No response
Additional information
No response