Re: [sqlalchemy] sqlalchemy get table with a string

2021-03-18 Thread FURKAN bilgin
Thank you for your response and I am immediately interested in your articles. 17 Mart 2021 Çarşamba tarihinde saat 20:46:11 UTC+3 itibarıyla Simon King şunları yazdı: > OK, I see. You're creating tables dynamically, and you want to be able > to insert data into those tables. > > I think it'll

Re: [sqlalchemy] Create Sqlalchemy ORM class from regular class gets "has no attribute ''_sa_instance_state''"

2021-03-18 Thread Scott Faurholm
Yes, sorry I didn't follow up On Mon, Mar 15, 2021 at 12:28 PM Simon King wrote: > I haven't followed your code in detail, but I think the problem might be > here: > > clazz = school.Class('12', 'A') > > students = [ > Student("Name1", "Sname1", clazz=clazz, code='aa7'), >