hassan_syyid
04/15/2021, 5:43 PMCompanies
so I can then retrieve all Projects
in those companies to populate the ProjectsStream
aaronsteers
04/15/2021, 5:47 PMCompanies
and Projects
both potential data streams? We are working on a spec for ‘hierarchical’ streams, which would allow parents streams to instantiate child streams. Even if the parent stream is not selected, the parent could iterate ‘on mute’, send its record data to the child stream, and the child stream can use the parent’s data in their own http endpoints.hassan_syyid
04/15/2021, 5:47 PMaaronsteers
04/15/2021, 5:48 PMhassan_syyid
04/15/2021, 6:01 PMaaronsteers
04/15/2021, 6:04 PMStream.partitions
on the Projects
stream with a list dictionaries describing all Companies
. After defining the class’s partitions, the context of “which Company is the parent of this Project” would get answered in the partition
argument that is send automatically to most relevant methods.
Everything is designed to “just work” after you define what those partitions should be defined as.aaronsteers
04/15/2021, 6:05 PM[{"company_id": 1}, {"company_id": 2}...]
, you can certainly implement the rest using pre-built SDK methods.aaronsteers
04/15/2021, 6:05 PMpartitions
implementation directly via rest calls or some other method.hassan_syyid
04/15/2021, 6:09 PMaaronsteers
04/15/2021, 6:10 PMhassan_syyid
04/15/2021, 6:27 PMaaronsteers
04/15/2021, 6:32 PM