sqlacodegen icon indicating copy to clipboard operation
sqlacodegen copied to clipboard

Automatic model code generator for SQLAlchemy

Results 43 sqlacodegen issues
Sort by recently updated
recently updated
newest added

`sqlacodegen` is a great tool that does two things when used as cli: 1. generate a `MetaData` object using SQLAlchemy built-in reflection 2. generate code using the generated `MetaData` from...

### 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...

bug

updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.4.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.2...v0.4.2) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.10.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.10.0)

Fixes #285 Error in Generated SQLAlchemy Model for CHAR Column

It would be nice to be able to exclude partitions but include partitioned tables. Reference: https://www.postgresql.org/docs/current/ddl-partitioning.html

### 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...

bug

### 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...

bug

Feature Request: would be nice to have the option to output all of the model classes to separate files; saves having to do a lot of cut/pasting when the single...

enhancement
major

the sqlacodengen library is failing on first install not even showing help Apparently the ArgSpec has been removed after a long deprecation period in https://github.com/python/cpython/pull/28618, replaced by FullArgSpec. which is...