Hi,
I am trying to convert the schema of a db to SQLModels: I have this short 
script:





*from subprocess import calloutfile = 'models/dvdrental_models.py'generator 
= 'sqlmodels'call(['sqlacodegen', db_uri, '--generator', generator, 
'--outfile', outfile])*
I got this Error.
sqlacodegen: error: unrecognized arguments: --generator sqlmodels

How do I modify this to work correctly? 

Thank you

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy/ecc2b9f3-73a5-4a9a-b02a-4495d22779e2n%40googlegroups.com.

Reply via email to