1 class JobWorkUnit < ProxyWorkUnit
3 return self.my_children if self.my_children
7 components = get(:components)
8 uuids = components.andand.collect {|_, v| v}
9 return items if (!uuids or uuids.empty?)
13 r = ArvadosBase::resource_class_for_uuid(u)
14 rcs[r] = [] unless rcs[r]
18 rc.where(uuid: ids).each do |obj|
19 items << obj.work_unit(components.key(obj.uuid))
23 self.my_children = items