VSOQueryResponseTable

class sunpy.net.vso.VSOQueryResponseTable(*args, **kwargs)[source]

Bases: sunpy.net.base_client.QueryResponseTable

Attributes Summary

errors

Descriptor to define a custom attribute for a Table subclass.

hide_keys

Methods Summary

add_error(exception)

from_zeep_response(response, *, client[, _sort])

Construct a table response from the zeep response.

total_size()

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 table meta. 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']

Methods Documentation

add_error(exception)[source]
classmethod from_zeep_response(response, *, client, _sort=True)[source]

Construct a table response from the zeep response.

total_size()[source]