-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
🎉 Support incremental sync in Sendgrid #3512
🎉 Support incremental sync in Sendgrid #3512
Conversation
Updated config catalogs.
airbyte-integrations/connectors/source-sendgrid/sample_files/configured_catalog.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-sendgrid/source_sendgrid/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-sendgrid/source_sendgrid/streams.py
Outdated
Show resolved
Hide resolved
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.
LGTM, just a small comment, otherwise approved, did you enable acceptance tests for incremental?
Update README.md. Remove unused code.
/test connector=source-sendgrid
|
It's added for now |
3c29eb6
to
574074a
Compare
/test connector=source-sendgrid
|
/test connector=source-sendgrid
|
/test connector=source-sendgrid
|
@@ -75,6 +76,29 @@ def next_page_token(self, response: requests.Response) -> Optional[Mapping[str, | |||
return {"offset": self.offset} | |||
|
|||
|
|||
class SendgridStreamIncrementalMixin(HttpStream): |
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.
nifty usage of mixin
…uest_params method
Update config files for abnormal state and catalogs.
/test connector=source-sendgrid
|
…dgrid-support-incremental-sync
/publish connector=connectors/source-sendgrid
|
What
Added incremental streams support to
global_suppressions
,blocks
,bounces
,invalid_emails
andspam_reports
streams.How
start_time
configSendgridStreamIncrementalMixin
to be inherited by streams that support incremental syncPre-merge Checklist
Recommended reading order
source.py
streams.py
┆Issue is synchronized with this Asana task by Unito