sqlacodegen is a third party tool. Your best option for support is on their Github page: https://github.com/agronholm/sqlacodegen/discussions/categories/q-a
On Monday, October 23, 2023 at 2:38:15 PM UTC-4 peter.dani...@gmail.com wrote: > 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/1410ad86-ab12-468b-86f4-e156ddeaeb0bn%40googlegroups.com.