You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now the tools generate db.Column(db.Float(11, True)) for double type fields. In other words, the asdecimal is set to True, and the field type of python object is Decimal. Unfortunately, the default json model don't support Decimal.
I change the asdecimal to False manually to solve json parse. It's better there's an option when generating models.
The text was updated successfully, but these errors were encountered:
Now the tools generate
db.Column(db.Float(11, True))
for double type fields. In other words, the asdecimal is set to True, and the field type of python object is Decimal. Unfortunately, the default json model don't support Decimal.I change the asdecimal to False manually to solve json parse. It's better there's an option when generating models.
The text was updated successfully, but these errors were encountered: