Skip to content

feat: KMS plugin - #1406

Merged
JuanLeee merged 8 commits into
mainfrom
dev
Dec 2, 2026
Merged

JuanLeee merged 8 commits into
mainfrom
dev

Conversation

@JuanLeee

@JuanLeee JuanLeee commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Description

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

JuanLeee and others added 6 commits November 12, 2026 03:04
Co-authored-by: Karen [C] Chen <64801825+karenc-bq@users.noreply.github.com>
Conflicts, resolved by keeping both sides:
- pyproject.toml: main's ruff and import-linter dev dependencies next to
  dev's cryptography and sqlglot.
- poetry.lock: regenerated the content hash with poetry lock; every
  locked version matches the side that changed it.
- tests/unit/test_connection.py: union of the imports.
Main's #1401 turned on mypy's warn_unused_ignores and strict_equality
and ruff's B905, which the kms code predates.

- Drop 18 type: ignore comments in unannotated test functions, whose
  bodies mypy does not check.
- Pass strict=False to 13 zip() calls, as #1401 did, so behaviour stays
  the same.
- Cast the driver iterator to object in AwsWrapperCursor.__next__: a
  driver cursor can be its own iterator, which the Cursor type does
  not show.
Conflicts, resolved by keeping both sides (main's line first):
- CHANGELOG.md: the connection_lifetime entry and the call context entry.
- docs/README.md, SqlAlchemySupport.md, UsingThePythonWrapper.md: the
  Connection Lifetime Plugin and KMS Encryption Plugin rows.
#1294 added it after #1401 turned on warn_unused_ignores. mypy skips the
body of the unannotated test, so the ignore is unused on every Python
version and the check fails.
@JuanLeee
JuanLeee merged commit 309bc8c into main Dec 2, 2026
13 checks passed
@JuanLeee
JuanLeee deleted the dev branch December 2, 2026 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants