T
T
TheFailOn2019-12-06 00:56:54
Flask
TheFailOn, 2019-12-06 00:56:54

Error Class builtinsdict is not mapped, what's the problem?

Understanding how SQLalchemy Flask works. I want to enter the sparse data into the database (the exchange rate of the Australian dollar type is 1.4465) and display it. But it gives an error "Class 'builtins.str' is not mapped" as I understand it, a problem with the table configuration? I tried to display simple data, only the format changes after "builtins"
https://pastebin.com/1xLCMYJ7

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Gilfanov, 2019-12-06
@TheFailOn

  • On Toaster, the source code is recommended to be added to the question as text;
    So yes, we can say that the problem is in the "table configuration", since nothing similar to the exchange rate is described at all. SQLAlchemy does not understand what kind of tuples, where and how to save.
    In general, you are in the SQLAlchemy documentation .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question