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 LinkedIn Ads: fix pagination for reporting #31396
Source LinkedIn Ads: fix pagination for reporting #31396
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Before Merging a Connector Pull RequestWow! What a great pull request you have here! 🎉 To merge this PR, ensure the following has been done/considered for each connector added or updated:
If the checklist is complete, but the CI check is failing,
|
parsed_response = response.json() | ||
if len(parsed_response.get("elements")) < self.records_limit: | ||
return None | ||
raise Exception("Limit 15000 elements exceeded. Try to request your data in more granular pieces.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f"Limit {self.record_limit}...."
parsed_response = response.json() | ||
if len(parsed_response.get("elements")) < self.records_limit: | ||
return None | ||
raise Exception("Limit 15000 elements exceeded. Try to request your data in more granular pieces.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How the customer could achieve this?
source-linkedin-ads test report (commit
|
Step | Result |
---|---|
Build source-linkedin-ads docker image for platform(s) linux/x86_64 | ✅ |
Unit tests | ✅ |
Acceptance tests | ✅ |
Code format checks | ✅ |
Validate metadata for source-linkedin-ads | ✅ |
Connector version semver check | ✅ |
Connector version increment check | ✅ |
QA checks | ✅ |
☁️ View runs for commit in Dagger Cloud
Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command
airbyte-ci connectors --name=source-linkedin-ads test
source-linkedin-ads test report (commit
|
Step | Result |
---|---|
Build source-linkedin-ads docker image for platform(s) linux/x86_64 | ✅ |
Unit tests | ✅ |
Acceptance tests | ✅ |
Code format checks | ✅ |
Validate metadata for source-linkedin-ads | ✅ |
Connector version semver check | ✅ |
Connector version increment check | ✅ |
QA checks | ✅ |
☁️ View runs for commit in Dagger Cloud
Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command
airbyte-ci connectors --name=source-linkedin-ads test
source-linkedin-ads test report (commit
|
Step | Result |
---|---|
Build source-linkedin-ads docker image for platform(s) linux/x86_64 | ✅ |
Unit tests | ✅ |
Acceptance tests | ✅ |
Code format checks | ✅ |
Validate metadata for source-linkedin-ads | ✅ |
Connector version semver check | ✅ |
Connector version increment check | ✅ |
QA checks | ✅ |
☁️ View runs for commit in Dagger Cloud
Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command
airbyte-ci connectors --name=source-linkedin-ads test
What
oncall https://github.com/airbytehq/oncall/issues/3264
How
Fix pagination (reporting does not support pagination)
next_page_token
return None