Skip to content

Commit

Permalink
Adding end date for Klaviyo connector
Browse files Browse the repository at this point in the history
  • Loading branch information
H. John Chiao authored and H. John Chiao committed Nov 6, 2024
1 parent 5157ad3 commit b84c58e
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ definitions:
class_name: source_klaviyo.components.datetime_based_cursor.KlaviyoCheckpointDatetimeBasedCursor
cursor_field: "{{ parameters.get('cursor_field', 'updated') }}"
start_datetime: "{{ config.get('start_date', '2012-01-01T00:00:00Z') }}"
end_datetime: "{{ config.get('end_date', now_utc().strftime('%Y-%m-%dT%H:%M:%S%z')) }}"
datetime_format: "%Y-%m-%dT%H:%M:%S%z"
cursor_datetime_formats:
- "%Y-%m-%dT%H:%M:%S.%f%z"
Expand Down Expand Up @@ -966,6 +967,18 @@ spec:
examples: ["2017-01-25T00:00:00Z"]
format: date-time
order: 1
end_date:
type: string
description: >-
UTC date and time in the format 2017-01-25T00:00:00Z. Any data after
this date will not be replicated. This field is optional - if not
provided, all data will be replicated.
order: 3
title: End Date
format: date-time
pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$
examples:
- "2024-01-25T00:00:00Z"
disable_fetching_predictive_analytics:
type: boolean
title: "Disable Fetching Predictive Analytics"
Expand Down

0 comments on commit b84c58e

Please sign in to comment.