Thanks Simon, do you know how could I install that version as when I 
upgrade the sqlacodegen I still get the version 2.3.0?

Javier

El martes, 14 de junio de 2022 a las 17:21:31 UTC+1, Simon King escribió:

> Based on the CHANGES file, it looks like --generator is a new option in 
> v3.0.0:
>
> https://github.com/agronholm/sqlacodegen/blob/master/CHANGES.rst
>
> Simon
>
> On Tue, Jun 14, 2022 at 5:06 PM Javier Garcia <tiren...@gmail.com> wrote:
>
>> Hi, 
>>
>> I have tried to run something like this: 
>>
>> sqlacodegen --generator tables 
>> mysql+pymysql://user:password@localhost/dbname
>>
>> but I get:
>>
>> usage: sqlacodegen [-h] [--version] [--schema SCHEMA] [--tables TABLES] 
>> [--noviews] [--noindexes] [--noconstraints] [--nojoined] [--noinflect] 
>> [--noclasses] [--nocomments] [--outfile OUTFILE] [url]
>> sqlacodegen: error: unrecognized arguments: --generator 
>> mysql+pymysql://root:*******@localhost/test_user
>>
>> My sqlacodegen version is 2.3.0.
>>
>> Any help?
>>
>> -- 
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sqlalchemy/6bea9449-3c19-491f-ace7-c17a8440a03an%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sqlalchemy/6bea9449-3c19-491f-ace7-c17a8440a03an%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/203ea204-b6a2-4a04-84b4-d37eb509aaebn%40googlegroups.com.

Reply via email to