Re: [sqlalchemy] Re: How to format class property as another accessible property

2017-06-07 Thread Greg Silverman
Hi, Thanks for pointing that out. It's still throwing the same error, even when changed. Does not seem to like passing the column name to the column_property method. Greg-- On Wed, Jun 7, 2017 at 3:30 PM, Jonathan Vanasco wrote: > These are two different lines of code.

[sqlalchemy] Re: How to format class property as another accessible property

2017-06-07 Thread Jonathan Vanasco
These are two different lines of code. The second one looks correct. > value_new = column_property("%.3f" % value()) > value_new = column_property("%.3f" % value) > -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please