]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix errors from initial CE run
authorThomas Stephenson <ovangle@gmail.com>
Fri, 16 May 2025 03:13:19 +0000 (13:13 +1000)
committerThomas Stephenson <ovangle@gmail.com>
Fri, 16 May 2025 09:31:07 +0000 (19:31 +1000)
commite07097ddd297a12082dc8e64661fefe338b1cfa1
treeea4d848c3bc53cf8bffbf13ecac4d7429b5dadc9
parent761748582718bde596fcb46d7109a274b910d0cc
Fix errors from initial CE run

- fix mypy and linter issues
- expand BitString tests for int and bytes conversion
- Only run BIT test types on postgresql dialect
- Fix problems in `BitString.from_int` and `BitString.from_bytes`
- Add `BitString.to_bytes` method to allow specifying the byte
  length of the returned instances
- Fixed problems testing operators in BIT type tests
lib/sqlalchemy/dialects/postgresql/asyncpg.py
lib/sqlalchemy/dialects/postgresql/bitstring.py
lib/sqlalchemy/dialects/postgresql/types.py
test/dialect/postgresql/test_bitstring.py
test/dialect/postgresql/test_types.py