1
0
mirror of synced 2025-12-25 02:09:19 -05:00

source-mailchimp: Convert to airbyte-lib (#34157)

This commit is contained in:
Joe Reuter
2024-01-16 10:41:14 +01:00
committed by GitHub
parent cbcaa15aea
commit e4a7863585
5 changed files with 23 additions and 8 deletions

View File

@@ -2,12 +2,7 @@
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#
import sys
from airbyte_cdk.entrypoint import launch
from source_mailchimp import SourceMailchimp
from source_mailchimp.run import run
if __name__ == "__main__":
source = SourceMailchimp()
launch(source, sys.argv[1:])
run()

View File

@@ -10,7 +10,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: b03a9f3e-22a5-11eb-adc1-0242ac120002
dockerImageTag: 1.1.0
dockerImageTag: 1.1.1
dockerRepository: airbyte/source-mailchimp
documentationUrl: https://docs.airbyte.com/integrations/sources/mailchimp
githubIssueLabel: source-mailchimp

View File

@@ -9,6 +9,11 @@ TEST_REQUIREMENTS = ["pytest-mock~=3.6.1", "pytest~=6.1", "responses~=0.19.0", "
setup(
entry_points={
"console_scripts": [
"source-mailchimp=source_mailchimp.run:run",
],
},
name="source_mailchimp",
description="Source implementation for Mailchimp.",
author="Airbyte",

View File

@@ -0,0 +1,14 @@
#
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#
import sys
from airbyte_cdk.entrypoint import launch
from source_mailchimp import SourceMailchimp
def run():
source = SourceMailchimp()
launch(source, sys.argv[1:])

View File

@@ -123,6 +123,7 @@ Now that you have set up the Mailchimp source connector, check out the following
| Version | Date | Pull Request | Subject |
|---------|------------|----------------------------------------------------------|----------------------------------------------------------------------------|
| 1.1.1 | 2024-01-11 | [34157](https://github.com/airbytehq/airbyte/pull/34157) | Prepare for airbyte-lib |
| 1.1.0 | 2023-12-20 | [32852](https://github.com/airbytehq/airbyte/pull/32852) | Add optional start_date for incremental streams |
| 1.0.0 | 2023-12-19 | [32836](https://github.com/airbytehq/airbyte/pull/32836) | Add airbyte-type to `datetime` columns and remove `._links` column |
| 0.10.0 | 2023-11-23 | [32782](https://github.com/airbytehq/airbyte/pull/32782) | Add SegmentMembers stream |