TableSet

class pyvo.io.vosi.vodataservice.TableSet(config=None, pos=None, _name='tableset', version='1.1', **kwargs)[source]

Bases: Element, HomogeneousList

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

The set of tables hosted by a resource.

Parameters:
typessequence of types

The types to accept.

valuessequence, optional

An initial set of values.

Attributes Summary

schemas

A list of schemas.

version

The version of the standard

Methods Summary

parse(iterator, config)

For internal use.

Attributes Documentation

schemas

A list of schemas. Must contain only Schema objects.

A named description of a set of logically related tables.

The name given by the “name” child element must be unique within this TableSet instance. If there is only one schema in this set and/or there’s no locally appropriate name to provide, the name can be set to “default”.

This aggregation does not need to map to an actual database, catalog, or schema, though the publisher may choose to aggregate along such designations, or particular service protocol may recommend it.

version

The version of the standard

Methods Documentation

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.