Skip to content

Commit

Permalink
Source Typeform: Convert to airbyte-lib (#34145)
Browse files Browse the repository at this point in the history
Co-authored-by: Serhii Lazebnyi <[email protected]>
  • Loading branch information
Joe Reuter and lazebnyi authored Jan 16, 2024
1 parent e7f5039 commit 500a107
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 8 deletions.
3 changes: 3 additions & 0 deletions airbyte-integrations/connectors/source-typeform/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
omit =
source_typeform/run.py
9 changes: 2 additions & 7 deletions airbyte-integrations/connectors/source-typeform/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_typeform import SourceTypeform
from source_typeform.run import run

if __name__ == "__main__":
source = SourceTypeform()
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: e7eff203-90bf-43e5-a240-19ea3056c474
dockerImageTag: 1.2.2
dockerImageTag: 1.2.3
dockerRepository: airbyte/source-typeform
documentationUrl: https://docs.airbyte.com/integrations/sources/typeform
githubIssueLabel: source-typeform
Expand Down
5 changes: 5 additions & 0 deletions airbyte-integrations/connectors/source-typeform/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
TEST_REQUIREMENTS = ["requests-mock~=1.9.3", "pytest~=6.2", "pytest-mock~=3.6.1"]

setup(
entry_points={
"console_scripts": [
"source-typeform=source_typeform.run:run",
],
},
name="source_typeform",
description="Source implementation for Typeform.",
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_typeform import SourceTypeform


def run():
source = SourceTypeform()
launch(source, sys.argv[1:])
1 change: 1 addition & 0 deletions docs/integrations/sources/typeform.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ API rate limits \(2 requests per second\): [https://developer.typeform.com/get-s

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:------------------------------------------------------------------------------------------------|
| 1.2.3 | 2024-01-11 | [34145](https://github.com/airbytehq/airbyte/pull/34145) | prepare for airbyte-lib |
| 1.2.2 | 2023-12-12 | [33345](https://github.com/airbytehq/airbyte/pull/33345) | Fix single use refresh token authentication |
| 1.2.1 | 2023-12-04 | [32775](https://github.com/airbytehq/airbyte/pull/32775) | Add 499 status code handling |
| 1.2.0 | 2023-11-29 | [32745](https://github.com/airbytehq/airbyte/pull/32745) | Add `response_type` field to `responses` schema |
Expand Down

0 comments on commit 500a107

Please sign in to comment.