TableRow
- class q2_sdk.hq.table_row.ExtendedBase[source]
Bases:
objectRemove in 3.0
- property text
- property pyval
- class q2_sdk.hq.table_row.ExtendedFloat(x=0, /)[source]
Bases:
float,ExtendedBase
- class q2_sdk.hq.table_row.ExtendedDateTime[source]
Bases:
datetime,ExtendedBase- property pyval
- class q2_sdk.hq.table_row.ExtendedDecimal(value='0', context=None)[source]
Bases:
Decimal,ExtendedBase- property pyval
- class q2_sdk.hq.table_row.ExtendedBool(value)[source]
Bases:
ExtendedBase- property text
- property pyval
- class q2_sdk.hq.table_row.TableRow(element, row_class=None, rename_fields=None)[source]
Bases:
objectReturned from a DBObject call to the DB if setting
RETURN_TABLE_OBJECTS_FROM_DBis set toTrue. Allows for converting of LXML ObjectifiedElement.text to the defined type in the RepresentationRow class for each DBObject. This RepresentationRow should match the schema in the DB for the associated DB table. Also accessing.textand.pyvalare no longer necessary. Just accessing the field name will return the correct value as the correct type. Also included are the__repr__and__str__methods that will show the string representation of the xml underneath to make debugging easier.