Package gavo :: Package votable :: Module simple :: Class TableMetadata
[frames] | no frames]

Class TableMetadata

source code

object --+
         |
        TableMetadata

Metadata for a VOTable table instance, i.e., column definitions, groups, etc.

These are constructed with a VOTable TABLE instance and infos, a dictionary mapping info names to lists of V.INFO items.

Instance Methods
 
__init__(self, tableElement, infos)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__iter__(self) source code
 
__len__(self) source code
 
__getitem__(self, index) source code
 
getFields(self) source code
 
iterDicts(self, data)
iterates over data, but returns each row as a dict.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, tableElement, infos)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

iterDicts(self, data)

source code 

iterates over data, but returns each row as a dict.

data is a result set as returned by load.