TableParam

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

Bases: 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

flags

A list of flags.

std

Methods Summary

from_field(field)

Create a instance from a Field instance.

parse(iterator, config)

For internal use.

Attributes Documentation

datatype
flags

A list of flags. Must contain only str objects.

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

std

Methods Documentation

classmethod from_field(field)[source]

Create a instance from a Field instance.

parse(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:
iteratorxml iterator

An iterator over XML elements as returned by get_xml_iterator.

configdict

The configuration dictionary that affects how certain elements are read.