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

Method _generate

test/orm/test_composites.py:732–734  ·  view source on GitHub ↗

generate a Vertex from a row

(self, x1, y1, x2, y2)

Source from the content-addressed store, hash-verified

730
731 @classmethod
732 def _generate(self, x1, y1, x2, y2):
733 """generate a Vertex from a row"""
734 return Vertex(Point(x1, y1), Point(x2, y2))
735
736 def __composite_values__(self):
737 return (

Calls 2

VertexClass · 0.70
PointClass · 0.70

Tested by

no test coverage detected