Hey - I'm working with pipelinewise's tap-s3-csv a...
# singer-taps
p
Hey - I'm working with pipelinewise's tap-s3-csv and I want to set the tables dict config as an environment variable so I have to serialize it as a string. The tap only accepts a dict as input and not a serialized string. So when meltano writes out the env var to the config.json I get errors from the tap. I requested that they support both dict and string but im wondering if theres some way to tell meltano to deserialize before dumping to the config.
I see this issue so this might be part of supporting this tap https://gitlab.com/meltano/meltano/-/issues/2417
Oh I might have answered my own question...In https://www.meltano.com/discovery.yml I see a
kind
setting that looks like it defines how the config variable is handled
d
@pnadolny That's right, if you set
kind: object
under
settings
in
meltano.yml
, Meltano will deserialize the string value and pass it to the tap in
config.json
as expected