gtalarico / pyairtable

Python Api Client for Airtable
https://pyairtable.readthedocs.io
MIT License
765 stars 138 forks source link

Track changes to ORM fields and only save modified fields (unless forced) #381

Closed mesozoic closed 2 weeks ago

mesozoic commented 1 month ago

This branch adds change tracking to the ORM Model and Field classes, so that we can avoid sending field values to the API if they haven't been modified. This is the default behavior now; implementers can override this behavior by calling obj.save(force=True) on a model instance.

Fixes #378

FYI @gildastone @bapcon

gildastone commented 2 weeks ago

@mesozoic great work! Thanks for putting that nice solution 👏🏼 Can we close #379 ?