SQLAlchemy and sqlacodegen noob here. I'd like to just get some simple 
SQLAlchemy tables generated for my database.  I tried using  --noclasses, 
but it doesn't seem to recognize the option.

sqlacodegen --noclasses mysql+pymysql://root:<uhuh>@localhost:3306/mydb

sqlacodegen: error: unrecognized arguments: --noclasses

How can I get it to just gen some tables?

This is what I read in the project docs:
"Unless the --noclasses option is used, sqlacodegen tries to generate 
declarative model classes from each table."
From: https://pypi.org/project/sqlacodegen/

Thanks!

-Peter

-- 
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/99353284-321c-429c-9e5d-65ab480ded44n%40googlegroups.com.

Reply via email to