Re: [sqlalchemy] Sqlacodegen freeze when generate models.py

2023-08-01 Thread Mike Bayer
hi -

sqlacodegen issues should be discussed at 
https://github.com/agronholm/sqlacodegen/discussions/categories/q-a

On Tue, Aug 1, 2023, at 7:57 AM, Leandro Lázaro wrote:
> Hello,
> When I use the command sqlacodegen mssql+pymssql://USER:PASS@IP:PORT/DB > 
> model.py, the process hangs and continues running for several hours without 
> any results. The database I'm trying to generate models.py for is quite large 
> (over 1000 tables). Is the execution time normal, or is something wrong? I've 
> tested the connection string with engine.connect(), and it seems to be 
> working fine. Am I doing something wrong? Thank you in advance.
> 
> Best regards,
> 
> Leandro L. A. Vieira
> 
> 
> 
> -- 
> 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/1a9d575a-f87e-4ff8-a6de-dac0fd3b27fdn%40googlegroups.com
>  
> .

-- 
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/1cf76d39-7a6f-434a-9a42-4833a7e8c758%40app.fastmail.com.


[sqlalchemy] Sqlacodegen freeze when generate models.py

2023-08-01 Thread Leandro Lázaro
Hello,

When I use the command sqlacodegen mssql+pymssql://USER:PASS@IP:PORT/DB > 
model.py, the process hangs and continues running for several hours without 
any results. The database I'm trying to generate models.py for is quite 
large (over 1000 tables). Is the execution time normal, or is something 
wrong? I've tested the connection string with engine.connect(), and it 
seems to be working fine. Am I doing something wrong? Thank you in advance.

Best regards,

Leandro L. A. Vieira

-- 
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/1a9d575a-f87e-4ff8-a6de-dac0fd3b27fdn%40googlegroups.com.