@generation.expression<EOL><INDENT>def generation(self):<DEDENT>
from sqlalchemy import Integer<EOL>from sqlalchemy.sql.expression import cast<EOL>return cast(self.property2, Integer)<EOL>
Make generation queryable.