def create_asdf_deprecation_warning(): return AstropyDeprecationWarning( "ASDF functionality for astropy is being moved out of the astropy" " package to the new asdf-astropy package. Please use this package" " instead. astropy.io.misc.asdf is deprecated since astropy 5.1 and will be removed in a future release." )
def table(self): warn( AstropyDeprecationWarning( 'Using the table property is deprecated. ' 'Please use se to_table() instead.')) return self.to_table()