MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / Vertex

Class Vertex

test/orm/test_composites.py:672–682  ·  test/orm/test_composites.py::PointTest.Vertex

Source from the content-addressed store, hash-verified

670 return not self.__eq__(other)
671
672 class Vertex(decl_base):
673 __tablename__ = class="st">"vertices"
674
675 id = Column(Integer, primary_key=True)
676 x1 = Column(Integer)
677 y1 = Column(Integer)
678 x2 = Column(Integer)
679 y2 = Column(Integer)
680
681 start = composite(Point, x1, y1)
682 end = composite(Point, x2, y2)
683
684 self.assert_compile(
685 select(Vertex),

Callers 3

_generateMethod · 0.70

Calls 2

ColumnClass · 0.90
compositeFunction · 0.90

Tested by 3

_generateMethod · 0.56