Skip to main content
`Ctrl`+`K`

# get_reader

astropy.io.registry.get_reader(data_format, data_class)

  Get reader for `data_format`.

  Parameters:
    data_format `python:str`

      The data format identifier. This is the string that is used to specify the data type when reading/writing.

    data_class class

      The class of the object that can be written.

  Returns:
    reader `python:callable()`

      The registered reader function for this format and class.