TableParam

class pyvo.io.vosi.vodataservice.TableParam(config=None, pos=None, _name='', std=None, **kwargs)[source]

Bases: pyvo.io.vosi.vodataservice.BaseParam

TableParam element as described in http://www.ivoa.net/xml/VODataService/v1.1

A description of a table parameter having a fixed data type. The allowed data type names match those supported by VOTable.

Attributes Summary

datatype(fget)
flags(fget) A list of flags.
std(fget)

Methods Summary

from_field(field) Create a instance from a Field instance.
parse(self, iterator, config) For internal use.

Attributes Documentation

datatype(fget)
flags(fget)

A list of flags. Must contain only str objects.

a keyword representing traits of the column. Recognized values include “indexed”, “primary”, and “nullable”.

std(fget)

Methods Documentation

classmethod from_field(field)[source]

Create a instance from a Field instance.

parse(self, iterator, config)[source]

For internal use. Parse the XML content of the children of the element. Override this method and do after-parse checks after calling super().parse, if you need to.

Parameters:
iterator : xml iterator

An iterator over XML elements as returned by get_xml_iterator.

config : dict

The configuration dictionary that affects how certain elements are read.