Eni S
04/25/2024, 7:52 AMAndy Carter
04/25/2024, 8:27 AMpost_process
method help? It applies to each record before being emitted.
Or do you want tap users to be able to modify the mapping?
https://sdk.meltano.com/en/latest/classes/singer_sdk.Stream.html#singer_sdk.Stream.post_processReuben (Matatika)
04/25/2024, 8:31 AMEni S
04/25/2024, 8:34 AMReuben (Matatika)
04/25/2024, 8:35 AMpost_process
, as Andy mentioned: https://github.com/Matatika/tap-auth0/blob/d750fc50bea995a604a8b478ee2b6ec9bbe796f2/tap_auth0/streams.py#L181-L182Andy Carter
04/25/2024, 8:50 AMpost_process
is ideal. It's also a nice way to separate logic that might otherwise live in get_records
to keep the delineation between 'here's what the api returns' (get_records
) and 'heres the extra changes I think you need (post_process
)