-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking changes: * Promote `singer_sdk.helpers.typing` to `singer_sdk.typing` (#84) * Improve environment variable parsing logic for arrays (#82) * OAuth: Do not automatically apply `client_email` if `client_id` is missing (#83) * Remove DatabaseStream class (moved out to #74) Summary of other changes: * Refactor private helper methods into private `helper` modules * Refactor legacy imports into `singer_sdk.helpers._compat` private module * Automatically detect loops in `next_page_token` * Numerous other style and internal refactoring improvements
- Loading branch information
AJ Steers
committed
Apr 1, 2021
1 parent
210813a
commit e66de5d
Showing
54 changed files
with
568 additions
and
1,166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,30 @@ | ||
tests: | ||
- source_name: DatabaseTemplateTest | ||
tap_id: test-tap-database-type | ||
stream_type: Database | ||
auth_method": Custom or N/A | ||
|
||
- source_name: RESTSimpleAuthTemplateTest | ||
tap_id: test-tap-rest-simpleauth-type | ||
stream_type: REST | ||
auth_method": Simple | ||
auth_method: Simple | ||
|
||
- source_name: RESTOAuthTemplateTest | ||
tap_id: test-tap-rest-oath-type | ||
stream_type: REST | ||
auth_method": OAuth | ||
auth_method: OAuth | ||
|
||
- source_name: RESTJWTTemplateTest | ||
tap_id: test-tap-rest-simpleauth-type | ||
stream_type: REST | ||
auth_method": JWT | ||
auth_method: JWT | ||
|
||
- source_name: RESTJWTTemplateTest | ||
tap_id: test-tap-rest-simpleauth-type | ||
stream_type: REST | ||
auth_method": Custom or N/A | ||
auth_method: Custom or N/A | ||
|
||
- source_name: GraphQLJWTTemplateTest | ||
tap_id: test-tap-graphql-jwt-type | ||
stream_type: GraphQL | ||
auth_method": JWT | ||
auth_method: JWT | ||
|
||
- source_name: OtherCustomTemplateTest | ||
tap_id: test-tap-other-custom-type | ||
stream_type: Other | ||
auth_method": Custom or N/A | ||
auth_method: Custom or N/A |
11 changes: 2 additions & 9 deletions
11
cookiecutter/tap-template/{{cookiecutter.library_name}}/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 2 additions & 5 deletions
7
cookiecutter/tap-template/{{cookiecutter.library_name}}/pyproject.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
[tool.poetry] | ||
name = "{{cookiecutter.tap_id}}" | ||
version = "0.0.1" | ||
description = "`{{cookiecutter.tap_id}}` is Singer-compliant {{cookiecutter.source_name}} tap built with Singer SDK." | ||
description = "`{{cookiecutter.tap_id}}` is Singer tap for {{cookiecutter.source_name}}, built with the Singer SDK." | ||
authors = ["TODO: Your Name <[email protected]>"] | ||
license = "Apache v2" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6" | ||
requests = "^2.25.1" | ||
# Note: Until we clear the first non-prerelease, `singer-sdk` need to be pinned to a specific version. | ||
# For a list of released versions: https://pypi.org/project/singer-sdk/#history | ||
# To safely update the version number: `poetry add singer-sdk==0.0.2-dev.1068770959` | ||
singer-sdk = "0.0.2-dev.1068770959" | ||
singer-sdk = "^0.1.0" | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = "^6.1.2" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ap-template/{{cookiecutter.library_name}}/{{cookiecutter.library_name}}/tests/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
"""Test suite for {{ cookiecutter.library_name }}.""" | ||
"""Test suite for {{ cookiecutter.tap_id }}.""" |
5 changes: 3 additions & 2 deletions
5
...te/{{cookiecutter.library_name}}/{{cookiecutter.library_name}}/tests/{{ 'test' }}_core.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.