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.
Most functions here deal with both FIELD-s and PARAM-s, as the PARAM’s @value attribute contains tabledata-serialised values.
- gavo.votable.enc_tabledata.getLinesFor(field: TypedElement) List[str] [source]¶
returns a sequence of python source lines to encode values described by field into tabledata.