-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source: Twilio - Fix Pagination for 'TwilioStream' #52089
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
/format-fix
|
/format-fix
|
Regression ran without state: Tests look good (we get more records on the reported streams) except for the I've added debug statements, but I don't see how we get zero regression records. I tested on the cloud with the current version and dev version and got the same amount of records still. 74 I think it will be worth running another test with page_size = 20 to see if the error is happening during pagination, though. |
What
Some Twilio streams are having issues paginating and seem only to be grabbing the first page.
https://github.com/airbytehq/oncall/issues/7272
How
I updated a typo about how we grab the
nex_page_url
, which should enable pagination again for the impacted streams.I added these debug print statements:
I also ran a read test:
poetry run python main.py read --config secrets/config.json --catalog integration_tests/constant_records_catalog.json --debug > test_1.log
Here is the output:
I think we need to change
stream_data.get("next_page_uri")
tostream_data.get("next_page_url")
Review guide
Check streams.py & ensure there aren't other typos with
next_page_url
User Impact
Can this PR be safely reverted and rolled back?