[X] I have searched the existing issues and didn't find my bug already reported there
[X] I have checked that my bug is still present in the latest release
Sqlacodegen version
2.3.0.post1
SQLAlchemy version
1.4.52
RDBMS vendor
PostgreSQL
What happened?
When I ran the command sqlacodegen postgresql://postgres:secret_pass@localhost:5432/db_name > model.py It should have created code in model.py. I researched about the error and I think it is caused because codegen.py has an import statement from inspect import ArgSpec where ArgSpec is depreciated for python 3.12.2. I am using 3.12.2 version of python
Things to check first
[X] I have searched the existing issues and didn't find my bug already reported there
[X] I have checked that my bug is still present in the latest release
Sqlacodegen version
2.3.0.post1
SQLAlchemy version
1.4.52
RDBMS vendor
PostgreSQL
What happened?
When I ran the command
sqlacodegen postgresql://postgres:secret_pass@localhost:5432/db_name > model.py
It should have created code in model.py. I researched about the error and I think it is caused because codegen.py has an import statementfrom inspect import ArgSpec
whereArgSpec
is depreciated for python 3.12.2. I am using 3.12.2 version of pythonDatabase schema for reproducing the bug
No response