def mark_processed(path): query = File.update(inspected_at=datetime.datetime.now()).where( File.path == path) query.execute()