visch
10/27/2021, 12:54 AMschema
method of my ItemStream
class. Pull data from the Projects stream, send some api requests off based on this data. This would automatically query Teams as it's the parent of Projects.
Right now I"m going to just code what I need into schema
but if I could hook into the existing Parent/Child relationship easily it'd be slickaaronsteers
10/27/2021, 12:59 AMvisch
10/27/2021, 12:59 AMproject_id
visch
10/27/2021, 1:00 AMproject_id
'saaronsteers
10/27/2021, 1:01 AMaaronsteers
10/27/2021, 1:01 AMvisch
10/27/2021, 1:02 AM/team/{teamId}/projects/{projectId}/
visch
10/27/2021, 1:02 AMItems
schemaaaronsteers
10/27/2021, 1:02 AMvisch
10/27/2021, 1:03 AMaaronsteers
10/27/2021, 1:04 AMvisch
10/27/2021, 1:04 AMvisch
10/27/2021, 1:05 AMvisch
10/27/2021, 1:07 AMaaronsteers
10/27/2021, 1:09 AMaaronsteers
10/27/2021, 1:09 AMvisch
10/27/2021, 1:11 AMTap
and sync_all
load_streams
is the magic š
Is it worth the unwind from my end š¤·visch
10/27/2021, 1:11 AMaaronsteers
10/27/2021, 1:11 AMtap.discover_streams()
is the place to start. You'd basically want that method to look like sync_all()
visch
10/27/2021, 1:14 AMvisch
10/27/2021, 1:14 AMaaronsteers
10/27/2021, 1:17 AMaaronsteers
10/27/2021, 1:18 AMvisch
10/27/2021, 1:20 AMvisch
10/27/2021, 1:20 AM