askiff.gritems.TableSeparator

class askiff.gritems.TableSeparator

Bases: askiff._auto_serde.AutoSerde

Inheritance diagram of askiff.gritems.TableSeparator

Represents a table separator in a KiCad schematic, defining how table cells are divided by horizontal and vertical lines.

classmethod deserialize(sexp: askiff._sexpr.GeneralizedSexpr) Self

Deserializes a KiCad sexpr representation into an object instance. :Parameters: sexp – pre-parsed S-Expression AST

Returns:

Deserialized structure

Parameters:
sexp : askiff._sexpr.GeneralizedSexpr

Return type:

Self

Notes

  • Uses _AutoSerde__deser_field* tables for efficient lookup how to deserialize encountered objects

  • Places unrecognized field in __extra/__extra_positional and issues warning

  • Encountered str objects are processed as positional or bare-flag components

  • Tuples are processed as normal args treating first object as keyword identifying target field

serialize() askiff._sexpr.GeneralizedSexpr

Serializes the object into a S-Expression AST

Fields are processed in order: __ser_field_positional, __extra_positional, __ser_field & __extra

Return type:

askiff._sexpr.GeneralizedSexpr

cols : bool = False

Whether the separator between columns is enabled

rows : bool = False

Whether the separator between rows is enabled

stroke : askiff.common.Stroke | None = None

Line style and thickness of the table separator.


Last update: 2026-05-05