Skip to content

Commit

Permalink
source-paypal-transaction: Convert to airbyte-lib (#34155)
Browse files Browse the repository at this point in the history
Co-authored-by: Serhii Lazebnyi <53845333+lazebnyi@users.noreply.github.com>
  • Loading branch information
Joe Reuter and lazebnyi committed Jan 16, 2024
1 parent a182869 commit f235139
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 8 deletions.
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_paypal_transaction import SourcePaypalTransaction
from source_paypal_transaction.run import run

if __name__ == "__main__":
source = SourcePaypalTransaction()
launch(source, sys.argv[1:])
run()
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: d913b0f2-cc51-4e55-a44c-8ba1697b9239
dockerImageTag: 2.2.0
dockerImageTag: 2.2.1
dockerRepository: airbyte/source-paypal-transaction
documentationUrl: https://docs.airbyte.com/integrations/sources/paypal-transaction
githubIssueLabel: source-paypal-transaction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
]

setup(
entry_points={
"console_scripts": [
"source-paypal-transaction=source_paypal_transaction.run:run",
],
},
name="source_paypal_transaction",
description="Source implementation for Paypal Transaction.",
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_paypal_transaction import SourcePaypalTransaction


def run():
source = SourcePaypalTransaction()
launch(source, sys.argv[1:])
1 change: 1 addition & 0 deletions docs/integrations/sources/paypal-transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ By default, syncs are performed with a slice period of 7 days. If you see errors

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------|
| 2.2.1 | 2024-01-11 | [34155](https://github.com/airbytehq/airbyte/pull/34155) | prepare for airbyte-lib |
| 2.2.0 | 2023-10-25 | [31852](https://github.com/airbytehq/airbyte/pull/31852) | The size of the time_window can be configured |
| 2.1.2 | 2023-10-23 | [31759](https://github.com/airbytehq/airbyte/pull/31759) | Keep transaction_id as a string and fetch data in 7-day batches
| 2.1.1 | 2023-10-19 | [31599](https://github.com/airbytehq/airbyte/pull/31599) | Base image migration: remove Dockerfile and use the python-connector-base image |
Expand Down

0 comments on commit f235139

Please sign in to comment.