gavo.votable.enc_tabledata module

Encoding to tabledata.

These are functions returning pieces of code that are assembled into an encoding function. This still returns a normal string. The encoding into utf-8 only takes place in model’s TABLEDATA element.

gavo.votable.enc_tabledata.getGlobals(tableDefinition)[source]
gavo.votable.enc_tabledata.getLinesFor(field)[source]

returns a sequence of python source lines to encode values described by field into tabledata.

gavo.votable.enc_tabledata.getPostamble(tableDefinition)[source]