VSOQueryResponseTable¶
- class sunpy.net.vso.VSOQueryResponseTable(data=None, masked=False, names=None, dtype=None, meta=None, copy=True, rows=None, copy_indices=True, units=None, descriptions=None, **kwargs)[source]¶
Bases:
QueryResponseTable
Attributes Summary
Descriptor to define a custom attribute for a Table subclass.
Methods Summary
add_error
(exception)from_zeep_response
(response, *, client[, _sort])Construct a table response from the zeep response.
Attributes Documentation
- errors¶
Descriptor to define a custom attribute for a Table subclass.
The value of the
TableAttribute
will be stored in a dict named__attributes__
that is stored in the tablemeta
. The attribute can be accessed and set in the usual way, and it can be provided when creating the object.Defining an attribute by this mechanism ensures that it will persist if the table is sliced or serialized, for example as a pickle or ECSV file.
See the
MetaAttribute
documentation for additional details.- Parameters:
default (object) – Default value for attribute
Examples
>>> from astropy.table import Table, TableAttribute >>> class MyTable(Table): ... identifier = TableAttribute(default=1) >>> t = MyTable(identifier=10) >>> t.identifier 10 >>> t.meta OrderedDict([('__attributes__', {'identifier': 10})])
- hide_keys = ['fileid', 'fileurl', 'Info Required']¶
- size_column = 'Size'¶
Methods Documentation