Jordan Bulka
09/25/2024, 6:44 PMtarget-snowflake
and am running into a few issues that I believe should have been resolved by some recent pull requests.
First, when running meltano target-snowflake config list
it does not appear that you can configure private_key
, even though this PR was merged last week.
Second, when using the private_key_path
option instead, I'm still running into this error message despite this PR being merged two days ago:
File "/project/meltano_project/.meltano/loaders/target-snowflake/venv/lib/python3.9/site-packages/target_snowflake/connector.py", line 144, in get_private_key
with Path.open(self.config["private_key_path"], "rb") as key:
File "/usr/local/lib/python3.9/pathlib.py", line 1253, in open
opener=self._opener)
AttributeError: 'str' object has no attribute '_opener'
Does anyone know what could be going on here? I'm using the Docker image meltano/meltano:v3.5.3
ptd
09/25/2024, 6:50 PMmeltano target-snowflake config list
instead to see the config for the target?Jordan Bulka
09/25/2024, 6:50 PMReuben (Matatika)
09/25/2024, 7:53 PMpip_url
for target-snowflake
in your meltano.yml
is pointing at meltanolabs-target-snowflake
, Meltano will need to publish a new PyPI release for you to get the fix. In the meantime, you can change it to git+<https://github.com/MeltanoLabs/target-snowflake.git@81f4466>
and meltano install --clean loader target-snowflake
.Reuben (Matatika)
09/25/2024, 8:01 PMFirst, when runningThis PR should fix this: https://github.com/meltano/hub/pull/1856it does not appear that you can configuremeltano target-snowflake config list
, even though this PR was merged last week.private_key
Edgar Ramírez (Arch.dev)
09/25/2024, 10:37 PMmeltano lock --update --all
should get you the new setting 🙂 Thanks @Reuben (Matatika)!