getClass produces blank

I’m trying to better understand things by printing their class or type.
But, when I try to print result of getClass() in the code below, I get a blank.

What could I be doing wrong?

alarms = system.alarm.queryJournal(
   startDate='2017-04-12 07:00:00', 
   endDate='2017-04-12 08:00:00',
alarmsInJava = alarms.getDataset()'getClass of alarmsInJava: ' + str(alarmsInJava.getClass()))

See if this helps instead:

logger.infof('type of alarmsInJava: %s', type(alarmsInJava).__name__)

Yes. Thank you very much.