Skip to content
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 Pipedrive: Add incremental sync to organizations stream #50424

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,13 @@
"stream": {
"name": "organizations",
"json_schema": {},
"supported_sync_modes": ["full_refresh"]
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["update_time"]
},
"sync_mode": "full_refresh",
"destination_sync_mode": "overwrite"
"sync_mode": "incremental",
"cursor_field": ["update_time"],
"destination_sync_mode": "append"
},
{
"stream": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: d8286229-c680-4063-8c59-23b9b391c700
dockerImageTag: 2.3.0
dockerImageTag: 2.4.0
dockerRepository: airbyte/source-pipedrive
documentationUrl: https://docs.airbyte.com/integrations/sources/pipedrive
githubIssueLabel: source-pipedrive
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
version = "2.3.0"
version = "2.4.0"
name = "source-pipedrive"
description = "Source implementation for Pipedrive."
authors = [ "Airbyte <[email protected]>",]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,23 @@ definitions:
primary_key: "id"
retriever:
$ref: "#/definitions/retriever"
incremental_sync:
type: DatetimeBasedCursor
cursor_field: update_time
cursor_datetime_formats:
- "%Y-%m-%d %H:%M:%S"
datetime_format: "%Y-%m-%d %H:%M:%S"
start_datetime:
type: MinMaxDatetime
datetime: "{{ config['replication_start_date'] }}"
datetime_format: "%Y-%m-%dT%H:%M:%SZ"
start_time_option:
type: RequestOption
inject_into: request_parameter
field_name: since_timestamp
$parameters:
path_extractor: "organization"
path: "/organizations"
path: "/recents"

organization_fields_stream:
$ref: "#/definitions/base_stream"
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/pipedrive.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ The Pipedrive connector will gracefully handle rate limits. For more information

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 2.4.0 | 2024-12-26 | [50424](https://github.com/airbytehq/airbyte/pull/50424) | Add incremental sync to organizations stream |
| 2.3.0 | 2024-12-17 | [48615](https://github.com/airbytehq/airbyte/pull/48615) | Update airbyte-cdk to use concurrency |
| 2.2.28 | 2024-12-14 | [49692](https://github.com/airbytehq/airbyte/pull/49692) | Update dependencies |
| 2.2.27 | 2024-12-12 | [49041](https://github.com/airbytehq/airbyte/pull/49041) | Starting with this version, the Docker image is now rootless. Please note that this and future versions will not be compatible with Airbyte versions earlier than 0.64 |
Expand Down
Loading