Flask-Sqlalchemy вставка словаря в базу данных
obj_list = []
data_list = [{id:'12',name:'a':lang:'eng},{id:'13',name:'b':lang:'eng'}{id:'14',name:'c':lang:'eng}
# Loop through each object in the list
for record in data_list:
data_obj= Table(**record)
obj_list.append(data_obj)
session.add_all(obj_list)
session.commit()
Kuba Makuch