We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.21.0
NA
Taps (catalog, state, stream maps, etc.)
Mac
In the cookiecutter tap template, one of the configs in tap.py is auth_token:
tap.py
auth_token
sdk/cookiecutter/tap-template/{{cookiecutter.tap_id}}/{{cookiecutter.library_name}}/tap.py
Line 26 in 774a176
In the client.py file for REST targets however, the code references a config named api_key:
client.py
api_key
sdk/cookiecutter/tap-template/{{cookiecutter.tap_id}}/{{cookiecutter.library_name}}/{%if 'REST' == cookiecutter.stream_type %}client.py{%endif%}
Line 89 in 774a176
My hunch is that client.py for REST taps should reference auth_token as that is what the graphQL template does.
If anyone agrees, I'll make a PR. As it is today, this config name has to be changed for the tap to run.
No response
The text was updated successfully, but these errors were encountered:
@aaronsteers @edgarrmondragon can you add your thoughts on this?
Sorry, something went wrong.
@tayloramurphy Yeah, we should change the client.py template to use auth_token instead, for consistency.
I'd say a PR is welcome @radbrt 🙂
Successfully merging a pull request may close this issue.
Singer SDK Version
0.21.0
Is this a regression?
Python Version
NA
Bug scope
Taps (catalog, state, stream maps, etc.)
Operating System
Mac
Description
In the cookiecutter tap template, one of the configs in
tap.py
isauth_token
:sdk/cookiecutter/tap-template/{{cookiecutter.tap_id}}/{{cookiecutter.library_name}}/tap.py
Line 26 in 774a176
In the
client.py
file for REST targets however, the code references a config namedapi_key
:sdk/cookiecutter/tap-template/{{cookiecutter.tap_id}}/{{cookiecutter.library_name}}/{%if 'REST' == cookiecutter.stream_type %}client.py{%endif%}
Line 89 in 774a176
My hunch is that
client.py
for REST taps should referenceauth_token
as that is what the graphQL template does.If anyone agrees, I'll make a PR. As it is today, this config name has to be changed for the tap to run.
Code
No response
The text was updated successfully, but these errors were encountered: