You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To stop the SQL client.py file from being overwritten during initialization I propose changing the client.py evaluation for not in REST or GraphQL from:
{%if cookiecutter.stream_type not in ('REST', 'GraphQL')%}client.py{%endif%}
My reasoning is that there are 4 streams types REST, GraphQL, SQL, and Other. REST, GraphQL and SQL all have designated client.py files which leaves only a stream type of Other without a designated client.py file.
The text was updated successfully, but these errors were encountered:
Merges 354-cookiecutter-client-file-logic-overwrite-fix -> main
Migrated from GitLab: https://gitlab.com/meltano/sdk/-/merge_requests/276
Closes #354
To stop the SQL client.py file from being overwritten during initialization I propose changing the client.py evaluation for not in REST or GraphQL from:
{%if cookiecutter.stream_type not in ('REST', 'GraphQL')%}client.py{%endif%}
to the following:
{%if 'Other' == cookiecutter.stream_type %}client.py{%endif%}
My reasoning is that there are 4 streams types REST, GraphQL, SQL, and Other. REST, GraphQL and SQL all have designated client.py files which leaves only a stream type of Other without a designated client.py file.
The text was updated successfully, but these errors were encountered: