Sets the function that should be used to transform the returned Python structure into something serializable by specified output format
(self, function, **overrides)
| 77 | return self.where(output=formatter, **overrides) |
| 78 | |
| 79 | def transform(self, function, **overrides): |
| 80 | """Sets the function that should be used to transform the returned Python structure into something |
| 81 | serializable by specified output format |
| 82 | """ |
| 83 | return self.where(transform=function, **overrides) |
| 84 | |
| 85 | def validate(self, validation_function, **overrides): |
| 86 | """Sets the secondary validation fucntion to use for this handler""" |