From aa2b6de676cac29d42c1214c58ab6c6e5f5fe278 Mon Sep 17 00:00:00 2001 From: Christo Date: Wed, 20 Dec 2023 13:39:28 -0500 Subject: [PATCH] chore: format fix --- .../connectors/source-mailchimp/source_mailchimp/streams.py | 2 +- docs/integrations/sources/mailchimp.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py b/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py index 209d22001abcb4..158eaf1e8b47d8 100644 --- a/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py +++ b/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py @@ -154,7 +154,7 @@ def get_filter_date(start_date: str, state_date: str) -> str: # Return the max of the two dates if both are present. Otherwise return whichever is present, or None. if start_date_parsed or state_date_parsed: return max(filter(None, [start_date_parsed, state_date_parsed]), default=None) - + def filter_old_records(self, records: Iterable, filter_date) -> Iterable: """ Filters out records with older cursor_values than the filter_date. diff --git a/docs/integrations/sources/mailchimp.md b/docs/integrations/sources/mailchimp.md index 2d378e49cf5644..1d4193aaa96c9f 100644 --- a/docs/integrations/sources/mailchimp.md +++ b/docs/integrations/sources/mailchimp.md @@ -54,7 +54,7 @@ For more information on Mailchimp API Keys, please refer to the [official Mailch -6. (Optional) You may optionally provide an **Incremental Sync Start Date** using the provided datepicker, or by programmatically entering a UTC date-time in the format `YYYY-MM-DDThh:mm:ss.sssZ`. If set, only data generated on or after the configured date-time will be synced for Incremental streams. Leaving this field blank will sync all data returned from the API. Please note that this option has no effect on streams using Full Refresh sync mode. +6. (Optional) You may optionally provide an **Incremental Sync Start Date** using the provided datepicker, or by programmatically entering a UTC date-time in the format `YYYY-MM-DDThh:mm:ss.sssZ`. If set, only data generated on or after the configured date-time will be synced. Leaving this field blank will sync all data returned from the API. 7. Click **Set up source** and wait for the tests to complete.