jacebrowning / yorm

Automatic object-YAML mapping for Python.
https://yorm.readthedocs.io
MIT License
27 stars 6 forks source link

Add 'retrieve' function to instantiate a class and map it #44

Closed jacebrowning closed 9 years ago

jacebrowning commented 9 years ago

Additionally, yorm.store should simply call the mapper's store function if the object is already mapped.

jacebrowning commented 9 years ago

I'm thinking yorm.sync might work better (to do both).

jacebrowning commented 9 years ago

A few scenarios exist: