Hey guys, I want to use a config value in my strea...
# singer-tap-development
h
Hey guys, I want to use a config value in my streams.py file, as the api requires a specific path e.g. "reporting/get-data/{report_id}" and the reporting_id would be provided by the user in the configuration How would I go about doing this?
1
e
you could simply do
Copy code
class MyStream(MyClient):
    @property
    def path(self):
        return f"reporting/get-data/{self.config['report_id']}"
and make
report_id
required in
tap.py
.
💯 2
h
Amazing that works! Thanks!
dancingpenguin 2