Skip to content

Commit

Permalink
source-pipedrive: Convert to airbyte-lib (#34153)
Browse files Browse the repository at this point in the history
Co-authored-by: Serhii Lazebnyi <[email protected]>
  • Loading branch information
Joe Reuter and lazebnyi authored Jan 16, 2024
1 parent e4a7863 commit f532d0d
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_pipedrive ./source_pipedrive
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=2.2.1
LABEL io.airbyte.version=2.2.2
LABEL io.airbyte.name=airbyte/source-pipedrive
9 changes: 2 additions & 7 deletions airbyte-integrations/connectors/source-pipedrive/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#


import sys

from airbyte_cdk.entrypoint import launch
from source_pipedrive import SourcePipedrive
from source_pipedrive.run import run

if __name__ == "__main__":
source = SourcePipedrive()
launch(source, sys.argv[1:])
run()
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: d8286229-c680-4063-8c59-23b9b391c700
dockerImageTag: 2.2.1
dockerImageTag: 2.2.2
dockerRepository: airbyte/source-pipedrive
documentationUrl: https://docs.airbyte.com/integrations/sources/pipedrive
githubIssueLabel: source-pipedrive
Expand Down
5 changes: 5 additions & 0 deletions airbyte-integrations/connectors/source-pipedrive/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
]

setup(
entry_points={
"console_scripts": [
"source-pipedrive=source_pipedrive.run:run",
],
},
name="source_pipedrive",
description="Source implementation for Pipedrive.",
author="Airbyte",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#


import sys

from airbyte_cdk.entrypoint import launch
from source_pipedrive import SourcePipedrive


def run():
source = SourcePipedrive()
launch(source, sys.argv[1:])
1 change: 1 addition & 0 deletions docs/integrations/sources/pipedrive.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ The Pipedrive connector will gracefully handle rate limits. For more information

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:---------------------------------------------------------------------------|
| 2.2.2 | 2024-01-11 | [34153](https://github.com/airbytehq/airbyte/pull/34153) | prepare for airbyte-lib |
| 2.2.1 | 2023-11-06 | [31147](https://github.com/airbytehq/airbyte/pull/31147) | Bugfix: handle records with a null data field |
| 2.2.0 | 2023-10-25 | [31707](https://github.com/airbytehq/airbyte/pull/31707) | Add new stream mail |
| 2.1.0 | 2023-10-10 | [31184](https://github.com/airbytehq/airbyte/pull/31184) | Add new stream goals |
Expand Down

0 comments on commit f532d0d

Please sign in to comment.