Skip to content

Commit

Permalink
source-mailchimp: Convert to airbyte-lib (#34157)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reuter authored Jan 16, 2024
1 parent cbcaa15 commit e4a7863
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 8 deletions.
9 changes: 2 additions & 7 deletions airbyte-integrations/connectors/source-mailchimp/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_mailchimp import SourceMailchimp
from source_mailchimp.run import run

if __name__ == "__main__":
source = SourceMailchimp()
launch(source, sys.argv[1:])
run()
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions airbyte-integrations/connectors/source-mailchimp/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@


setup(
entry_points={
"console_scripts": [
"source-mailchimp=source_mailchimp.run:run",
],
},
name="source_mailchimp",
description="Source implementation for Mailchimp.",
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_mailchimp import SourceMailchimp


def run():
source = SourceMailchimp()
launch(source, sys.argv[1:])
1 change: 1 addition & 0 deletions docs/integrations/sources/mailchimp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit e4a7863

Please sign in to comment.