-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 Mailchimp: Get Member activities #3415
🎉 Source Mailchimp: Get Member activities #3415
Conversation
/test connector=source-mailchimp
|
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.
few comments:
- could you use the new CDK package by following the pattern in this PR: Migrate CDK Stripe source to PyPi and new structure #3302
- Could you add a changelog.md describing the changes in this PR
- we need to add cursor fields
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/schemas/Email_activity.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/client.py
Outdated
Show resolved
Hide resolved
/test connector=source-mailchimp
|
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/source.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/source.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/source.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/source.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/source.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/source.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/source.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/source.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py
Outdated
Show resolved
Hide resolved
name = "Email_activity" | ||
data_field = "emails" | ||
|
||
def stream_slices(self, **kwargs): |
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.
❤️
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/schemas/Email_activity.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/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.
just small item and please also double check other schemas for issues similar to what we had in email_activity
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/schemas/email_activity.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/sample_files/configured_catalog.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/sample_files/configured_catalog.json
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.
please update configured catalog, I still can see meta fields there
/test connector=source-mailchimp
|
/test connector=source-mailchimp
|
airbyte-integrations/connectors/source-mailchimp/acceptance-test-docker.sh
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py
Outdated
Show resolved
Hide resolved
- config_path: "secrets/config.json" | ||
configured_catalog_path: "integration_tests/configured_catalog.json" | ||
validate_output_from_all_streams: yes | ||
# incremental: |
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.
Why is this commented out?
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.
incremental in acceptance tests is currently not supported, so it is disabled in tests.
Reason: test is supposed to accept only {cursor_field: value}
as state, when I need another construction.
{
"<campaign_id>": {
cursor_field: "<your_datetime>"
}
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.
@vovavovavovavova you should add a comment here explaining this,
ideally, create a ticket for standard acceptance tests and mention it here.
/test connector=source-mailchimp
|
/test connector=source-mailchimp
|
/publish connector=connectors/source-mailchimp
|
What
Gets Mailchimp email-activities #1693
How
Email activities strictly belong to campaign with certain campaign_id. During looping over campaigns connector gathers their ids and then gets an email activity based on provided campaign ids.
Pre-merge Checklist
Recommended reading order
test.java
component.ts
┆Issue is synchronized with this Asana task by Unito