def insert_field(cls, index, field_name, field_type): super(TableModelBase, cls).insert_field(index, field_name, field_type) # There could have been changes to field_type in ComplexModel so we # should not use field_type directly from above add_column(cls, field_name, cls._type_info[field_name])
def insert_field(cls, index, field_name, field_type): super(TableModelBase, cls).insert_field(index, field_name, field_type) add_column(cls, field_name, field_type)
def append_field(cls, field_name, field_type): super(TableModelBase, cls).append_field(field_name, field_type) add_column(cls, field_name, field_type)