MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / Vertex

Class Vertex

test/orm/test_composites.py:671–681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

_generateMethod · 0.70

Calls 2

ColumnClass · 0.90
compositeFunction · 0.90

Tested by 3

_generateMethod · 0.56