MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / expr

Method expr

test/ext/test_indexable.py:270–272  ·  view source on GitHub ↗
(self, model)

Source from the content-addressed store, hash-verified

268 self.cast_type = cast_type
269
270 def expr(self, model):
271 expr = super().expr(model)
272 return expr.astext.cast(self.cast_type)
273
274 class Json(ComparableEntity, Base):
275 __tablename__ = "json"

Callers

nothing calls this directly

Calls 1

castMethod · 0.45

Tested by

no test coverage detected