SQLALchemy – python – method object is not JSON serializable

Fixing the error that occurs when calling a function in SQLAlchemy models – method object is not JSON serializable

One of the reasons the method is called without the parenthesis function:

Correctly like this:

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *