sophie_lanier
09/07/2021, 3:55 PMmeltano config tap-algolia set password <value>
, etc.) but when I try to test using poetry run tap-algolia --discover
I get this error of “Config validation failed.” Does anyone know what I might be doing wrong here? Thank you!edgar_ramirez_mondragon
09/07/2021, 4:38 PMmeltano.yml
that comes with the cookiecutter? In that case, you poetry run ...
will not work and you'll have to use meltano invoke tap-algolia
. You can use meltano config tap-algolia list
to confirm that the settings values are what you expect.
Also, you can still use poetry
to run the tap but you'll have to either
1. Put your setting values in .secrets/config.json
and run poetry run tap-algolia --config .secrets/config.json
2. Set environment variables (TAP_ALGOLIA_API_URL
, etc.) and run poetry run tap-algolia --config ENV
sophie_lanier
09/07/2021, 6:15 PMedgar_ramirez_mondragon
09/07/2021, 7:35 PMpoetry
is an opinionated tool (and a good one imo) to manage a Python project/library. It makes it easy to add packages to your tap (like API clients, etc.), manage your tap version, make PyPI releases, run other tools like poetry run pytest
for testing.
That said, for test-running your tap, using meltano
might be the better option:edgar_ramirez_mondragon
09/07/2021, 7:36 PM