MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _generate

Method _generate

test/orm/test_composites.py:733–735  ·  test/orm/test_composites.py::PointTest.Vertex._generate

generate a Vertex from a row

(self, x1, y1, x2, y2)

Source from the content-addressed store, hash-verified

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

Calls 2

VertexClass · 0.70
PointClass · 0.70

Tested by

no test coverage detected