add required attributes
(self, data, type)
| 94 | self.process(data, child, history[:]) |
| 95 | |
| 96 | def add_attributes(self, data, type): |
| 97 | """ add required attributes """ |
| 98 | for attr, ancestry in type.attributes(): |
| 99 | name = '_%s' % attr.name |
| 100 | value = attr.get_default() |
| 101 | setattr(data, name, value) |
| 102 | |
| 103 | def skip_child(self, child, ancestry): |
| 104 | """ get whether or not to skip the specified child """ |
no test coverage detected