- def build(self, builder_id, **kwargs):
- return builders[builder_id]().build(self, **kwargs)
+ @property
+ def children(self):
+ for part_uri in self.meta.parts or []:
+ yield type(self)(
+ filename=self.provider.by_uri(part_uri),
+ provider=self.provider
+ )
+
+
+ def build(self, builder, **kwargs):
+ return builder().build(self, **kwargs)