Exporting Alarm Status Table to CSV

I understand that it is an old post, but I am trying to print the recognized notes without result..

and i'm trying like this..

from com.inductiveautomation.ignition.common.config import BasicProperty
eventTime = BasicProperty("eventTime", BasicProperty().getType())
alarms = system.alarm.queryStatus()

for alarm in alarms:
    print "***",alarm.getDisplayPath(),"***"
    if not(alarm.getPriority() is None): 
        print "priority: " , alarm.getPriority()
    ack_notes = alarm.getAckNotes
    print "asd"
    if ack_notes is not None:
        print "ack notes: ", ack_notes