Relative Content

Tag Archive for pythondatabaseasynchronoussqlalchemymany-to-many

SQLAlchemy async Records are not added to the association table

Please tell me what I’m doing wrong.
There is this code. Tables are created, model tables
are filled, everything works. But records are not added to the association table.
The code completes without errors, but the drugs_diseases table is empty.
models.py