code: def ObjectModifiedEventHandler(obj, event):
      
  
      # only snapshot supported objects
      if not supports_snapshots(obj):
          return
  
      # take a new snapshot
      take_snapshot(obj, action="edit")
  
      # reindex the object in the auditlog catalog
      reindex_object(obj)
docs: Object has been modified