singer-io / singer-python

Writes the Singer format from Python
https://singer.io
Apache License 2.0
537 stars 129 forks source link

Retain Argument Paths #88

Closed awm33 closed 5 years ago

awm33 commented 5 years ago

Currently, parse_args overwrites config and other parsed arguments, a file path, with the parsed JSON. This makes the original file path inaccessible. This PR adds allows for accessing the original argument / file path.

For context, for a tap which needs the refresh token saved after each auth, I need to save the changes to the config file, which means I need access to the config path.

Functional Testing