예제 #1
0
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."
    )
예제 #2
0
파일: query.py 프로젝트: pllim/pyvo
 def table(self):
     warn(
         AstropyDeprecationWarning(
             'Using the table property is deprecated. '
             'Please use se to_table() instead.'))
     return self.to_table()