For aprent/child streams, what is the recommended ...
# singer-taps
s
For aprent/child streams, what is the recommended way to add the
parent_id
to the output stream? For example, a
CourseStream
parent with a
CourseUsers
child stream: we want the
CourseUsers
output to be basically:
{"course_id": context["course_id"]} | {courseuser_record_json}
a
Apologies that this isn't better documented. You can add them in Stream.post_process()
s
It looks like I should be doing this in
post_process
— was looking at
parse_response
initially
jinks!
a
:)
s
is there a schema efinition for
context
a
There is not yet. It's default should be the output of get_child_context() of the parent
s
awesome, got it working. very simple and elegant!