## 2.4.0.20251217 (2025-12-17)

[stubsabot] Bump google-cloud-ndb to 2.4.* ([#15137](https://github.com/python/typeshed/pull/15137))

Release: https://pypi.org/pypi/google-cloud-ndb/2.4.0
Homepage: https://github.com/googleapis/python-ndb
Repository: https://github.com/googleapis/python-ndb
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/google-cloud-ndb
Diff: https://github.com/googleapis/python-ndb/compare/v2.3.4...v2.4.0

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 3 files included in typeshed's stubs have been modified or renamed: `google/cloud/ndb/_datastore_api.py`, `google/cloud/ndb/_datastore_query.py`, `google/cloud/ndb/version.py`.
 - Total lines of Python code added: 38.
 - Total lines of Python code deleted: 29.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>

## 2.3.0.20251121 (2025-11-21)

[google-cloud-ndb] Use Incomplete instead of Any ([#15055](https://github.com/python/typeshed/pull/15055))

## 2.3.0.20250317 (2025-03-17)

[google-cloud-ndb] Remove unncessary stubtest requirements ([#13631](https://github.com/python/typeshed/pull/13631))

## 2.3.0.20241103 (2024-11-03)

Fix type annotations for google-cloud-ndb ([#12943](https://github.com/python/typeshed/pull/12943))

## 2.3.0.20240813 (2024-08-13)

Use Generator instead of Iterator for 3rd-party context managers ([#12481](https://github.com/python/typeshed/pull/12481))

## 2.3.0.20240806 (2024-08-06)

Bump mypy to 1.11.1 ([#12463](https://github.com/python/typeshed/pull/12463))

## 2.3.0.20240311 (2024-03-11)

Bump google-cloud-ndb to 2.3.* ([#11566](https://github.com/python/typeshed/pull/11566))

## 2.2.0.20240205 (2024-02-05)

A new shade of Black ([#11362](https://github.com/python/typeshed/pull/11362))

## 2.2.0.20240106 (2024-01-06)

Update typing_extensions imports in third-party stubs ([#11245](https://github.com/python/typeshed/pull/11245))

## 2.2.0.1 (2023-09-12)

Always install `six` when stubtesting `types-google-cloud-ndb` ([#10704](https://github.com/python/typeshed/pull/10704))

Fixes #10703

## 2.2.0.0 (2023-07-31)

Bump google-cloud-ndb to 2.2.* ([#10521](https://github.com/python/typeshed/pull/10521))

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>

## 2.1.0.8 (2023-07-20)

Add an upstream_repository field to METADATA.toml ([#10487](https://github.com/python/typeshed/pull/10487))

Closes: #10478

## 2.1.0.7 (2023-05-10)

Add `partial_stub` metadata field ([#10157](https://github.com/python/typeshed/pull/10157))

## 2.1.0.6 (2023-04-04)

`google-cloud-ndb`, `paramiko`, `setuptools`: remove unnecessary `= ...`s ([#10011](https://github.com/python/typeshed/pull/10011))

## 2.1.0.5 (2023-02-22)

Update `Unused` parameters in `stubs/` ([#9704](https://github.com/python/typeshed/pull/9704))

* Update _Unused TypeAlias

* Update `object | None` params

* Replace unused `object` parameters with `Unused` alias

## 2.1.0.4 (2023-02-21)

Integrate requirements-stubtest.txt into METADATA.toml ([#9778](https://github.com/python/typeshed/pull/9778))

## 2.1.0.3 (2023-02-21)

Stubtest settings: change `ignore_missing_stub` default to `false` ([#9779](https://github.com/python/typeshed/pull/9779))

If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.

## 2.1.0.2 (2023-02-15)

Use `typing_extensions.Self` instead of `_typeshed.Self` ([#9702](https://github.com/python/typeshed/pull/9702))

## 2.1.0.1 (2023-01-18)

Replace `Any` with `Incomplete` in many places ([#9558](https://github.com/python/typeshed/pull/9558))

## 2.1.0.0 (2022-12-19)

Bump google-cloud-ndb to 2.1.* ([#9370](https://github.com/python/typeshed/pull/9370))

## 2.0.0.0 (2022-12-07)

[stubsabot] Make google-cloud-ndb a namespace package; bump pinned version to 2.0.* ([#9339](https://github.com/python/typeshed/pull/9339))

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>

## 1.12.0.0 (2022-12-01)

[stubsabot] Bump google-cloud-ndb to 1.12.* ([#9307](https://github.com/python/typeshed/pull/9307))

Release: https://pypi.org/pypi/google-cloud-ndb/1.12.0
Homepage: https://github.com/googleapis/python-ndb
Diff: https://github.com/googleapis/python-ndb/compare/v1.11.2...v1.12.0

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `.kokoro/noxfile.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 6 files included in typeshed's stubs have been modified or renamed: `google/cloud/ndb/_datastore_api.py`, `google/cloud/ndb/context.py`, `google/cloud/ndb/django_middleware.py`, `google/cloud/ndb/model.py`, `google/cloud/ndb/msgprop.py`, `google/cloud/ndb/tasklets.py`.
 - Total lines of Python code added: 377.
 - Total lines of Python code deleted: 63.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>

## 1.11.5.10 (2022-11-23)

Mark first argument of `__[get|set|del]attr__` as `str` ([#9245](https://github.com/python/typeshed/pull/9245))

## 1.11.5.1 (2022-11-09)

Annotate known magic-method return types ([#9131](https://github.com/python/typeshed/pull/9131))

## 1.11.5 (2022-09-27)

google-cloud-ndb: drop dependency on types-six ([#8793](https://github.com/python/typeshed/pull/8793))

For https://github.com/typeshed-internal/stub_uploader/pull/61#discussion_r979327370

## 1.11.4 (2022-09-24)

google-cloud-ndb: bump stubtest protobuf requirement ([#8786](https://github.com/python/typeshed/pull/8786))

Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 3.20.1 to 3.20.2.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.20.1...v3.20.2)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

## 1.11.3 (2022-05-26)

Third-party stubs: fix several fictitious type aliases ([#7958](https://github.com/python/typeshed/pull/7958))

## 1.11.2 (2022-04-16)

Third-party stubs: import from `collections.abc` where possible ([#7637](https://github.com/python/typeshed/pull/7637))

## 1.11.1 (2022-04-16)

Use `TypeAlias` where possible for type aliases ([#7630](https://github.com/python/typeshed/pull/7630))

## 1.11.0 (2022-04-05)

Update google-cloud-ndb stubs to 1.11 ([#7593](https://github.com/python/typeshed/pull/7593))

## 1.9.4 (2022-02-08)

google-cloud-ndb: Fix incorrect type definition for `validator` ([#7116](https://github.com/python/typeshed/pull/7116))

This function was mistakenly typed as `Callable[[Property], object] |
None`, however the actual function accepts two parameters of type
`Property, value`. The value can be of any type. Strictly speaking, the
type corresponds to the type of the property which is defined at runtime.

Fixes #7103

## 1.9.3 (2022-02-03)

Fix mistyped `get_by_id` class methods ([#7120](https://github.com/python/typeshed/pull/7120))

The types for these class methods were mixed up. The async method
returned an optional `Model`, while the synchronous method returned a
`Future`. It's the other way around.

Fixes #7103

Improve `__enter__` & constructor methods ([#7114](https://github.com/python/typeshed/pull/7114))

## 1.9.2 (2022-01-08)

Use lowercase `type` everywhere ([#6853](https://github.com/python/typeshed/pull/6853))

## 1.9.0 (2021-10-21)

Stubs for google.cloud.ndb the Google Cloud Datastore ndb client library ([#5821](https://github.com/python/typeshed/pull/5821))

