Skip to content

Commit

Permalink
Source Shopify: Convert to airbyte-lib (#33935)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reuter committed Jan 15, 2024
1 parent 8d27b6b commit 919f94b
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 7 deletions.
8 changes: 2 additions & 6 deletions airbyte-integrations/connectors/source-shopify/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
#


import sys

from airbyte_cdk.entrypoint import launch
from source_shopify import SourceShopify
from source_shopify.run import run

if __name__ == "__main__":
source = SourceShopify()
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: 9da77001-af33-4bcd-be46-6252bf9342b9
dockerImageTag: 1.1.5
dockerImageTag: 1.1.6
dockerRepository: airbyte/source-shopify
documentationUrl: https://docs.airbyte.com/integrations/sources/shopify
githubIssueLabel: source-shopify
Expand Down
5 changes: 5 additions & 0 deletions airbyte-integrations/connectors/source-shopify/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,9 @@
extras_require={
"tests": TEST_REQUIREMENTS,
},
entry_points={
"console_scripts": [
"source-shopify=source_shopify.run:run",
],
},
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#


import sys

from airbyte_cdk.entrypoint import launch

from .source import SourceShopify


def run():
source = SourceShopify()
launch(source, sys.argv[1:])
1 change: 1 addition & 0 deletions docs/integrations/sources/shopify.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ If a child stream is synced independently of its parent stream, a full sync will

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------|
| 1.1.6 | 2024-01-04 | [33414](https://github.com/airbytehq/airbyte/pull/33414) | Prepare for airbyte-lib |
| 1.1.5 | 2023-12-28 | [33827](https://github.com/airbytehq/airbyte/pull/33827) | Fix GraphQL query |
| 1.1.4 | 2023-10-19 | [31599](https://github.com/airbytehq/airbyte/pull/31599) | Base image migration: remove Dockerfile and use the python-connector-base image |
| 1.1.3 | 2023-10-17 | [31500](https://github.com/airbytehq/airbyte/pull/31500) | Fixed the issue caused by the `missing access token` while setup the new source and not yet authenticated |
Expand Down

0 comments on commit 919f94b

Please sign in to comment.