Hey all, I'm trying to configure the Meltano Labs ...
# singer-targets
j
Hey all, I'm trying to configure the Meltano Labs variant of
target-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:
Copy code
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
p
Should you be running
meltano target-snowflake config list
instead to see the config for the target?
j
sorry, that's actually what I ran! should have copy pasted from my editor. updated my question to reflect
r
Assuming the
pip_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
.
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.
This PR should fix this: https://github.com/meltano/hub/pull/1856
❤️ 2
e
Running
meltano lock --update --all
should get you the new setting 🙂 Thanks @Reuben (Matatika)!