How to detect when a field is updated in python

I know the hook function def on_update is called when a doctype is updated, but how can you check one particular field has changed?

are you using v8? I believe there’s a feature in v8 which is “track changes” you might want to look at it.