def set_photo(self, filename):
        self.data['Photo'] = filename
Will populate the model from a dictionary passed as a constructor.
dataset/ETHPy150Open nathangrigg/dayone_export/dayone_export/__init__.py/Entry.set_photo--crossover with--dataset/ETHPy150Open lonelycode/Mojo/Mojo/ObjectMapper/ModelPrototype.py/Model.__instantiate_from_dict