def from_datastruct(self, seed_data): """ Modify this object to take on values in seed_data """ return utils.from_datastruct_from_fields(self, seed_data, self.get_fields())
def from_datastruct(self, seed_data): # FIXME: most definitely doesn't grok interfaces yet. return utils.from_datastruct_from_fields(self, seed_data, FIELDS)