Skip to content

Commit

Permalink
Source Smartsheets: Convert to airbyte-lib (#34012)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reuter committed Jan 10, 2024
1 parent 26deee7 commit d7e9ffa
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 @@ -14,5 +14,5 @@ COPY $CODE_PATH ./$CODE_PATH
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=1.1.1
LABEL io.airbyte.version=1.1.2
LABEL io.airbyte.name=airbyte/source-smartsheets
9 changes: 2 additions & 7 deletions airbyte-integrations/connectors/source-smartsheets/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_smartsheets import SourceSmartsheets
from source_smartsheets.run import run

if __name__ == "__main__":
source = SourceSmartsheets()
launch(source, sys.argv[1:])
run()
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 374ebc65-6636-4ea0-925c-7d35999a8ffc
dockerImageTag: 1.1.1
dockerImageTag: 1.1.2
dockerRepository: airbyte/source-smartsheets
documentationUrl: https://docs.airbyte.com/integrations/sources/smartsheets
githubIssueLabel: source-smartsheets
Expand Down
5 changes: 5 additions & 0 deletions airbyte-integrations/connectors/source-smartsheets/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
TEST_REQUIREMENTS = ["requests-mock~=1.9.3", "pytest", "pytest-mock~=3.6.1"]

setup(
entry_points={
"console_scripts": [
"source-smartsheets=source_smartsheets.run:run",
],
},
name="source_smartsheets",
description="Source implementation for Smartsheets.",
author="Nate Nowack",
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_smartsheets import SourceSmartsheets


def run():
source = SourceSmartsheets()
launch(source, sys.argv[1:])
1 change: 1 addition & 0 deletions docs/integrations/sources/smartsheets.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ The remaining column datatypes supported by Smartsheets are more complex types (

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:----------------------------------------------------------|
| 1.1.2 | 2024-01-08 | [1234](https://github.com/airbytehq/airbyte/pull/1234) | prepare for airbyte-lib |
| 1.1.1 | 2023-06-06 | [27096](https://github.com/airbytehq/airbyte/pull/27096) | Fix error when optional metadata fields are not set |
| 1.1.0 | 2023-06-02 | [22382](https://github.com/airbytehq/airbyte/pull/22382) | Add support for ingesting metadata fields |
| 1.0.2 | 2023-05-12 | [26024](https://github.com/airbytehq/airbyte/pull/26024) | Fix dependencies conflict |
Expand Down

0 comments on commit d7e9ffa

Please sign in to comment.