use getattr to safely get class name
use getattr to safely get class name

pllim/astropy,aleksandr-bakanov/astropy,dhomeier/astropy,mhvk/astropy,mhvk/astropy,saimn/astropy,aleksandr-bakanov/astropy,pllim/astropy,larrybradley/astropy,astropy/astropy,pllim/astropy,larrybradley/astropy,larrybradley/astropy,dhomeier/astropy,astropy/astropy,saimn/astropy,astropy/astropy,mhvk/astropy,lpsinger/astropy,lpsinger/astropy,lpsinger/astropy,larrybradley/astropy,dhomeier/astropy,saimn/astropy,dhomeier/astropy,StuartLittlefair/astropy,pllim/astropy,aleksandr-bakanov/astropy,larrybradley/astropy,mhvk/astropy,StuartLittlefair/astropy,lpsinger/astropy,saimn/astropy,aleksandr-bakanov/astropy,saimn/astropy,StuartLittlefair/astropy,astropy/astropy,StuartLittlefair/astropy,mhvk/astropy,StuartLittlefair/astropy,dhomeier/astropy,astropy/astropy,pllim/astropy,lpsinger/astropy