Skip to content
This repository was archived by the owner on May 6, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions google/cloud/ndb/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -5764,8 +5764,7 @@ def _get_by_id(
``global_cache_timeout``.
max_memcache_items (int): No longer supported.
force_writes (bool): No longer supported.
database (Optional[str]): Database for the entity to load. If not
passed, uses the client's value.
database (Optional[str]): This parameter is ignored. Please set the database on the Client instead.

Returns:
Optional[Model]: The retrieved entity, if one is found.
Expand Down Expand Up @@ -5851,6 +5850,7 @@ def _get_by_id_async(
``global_cache_timeout``.
max_memcache_items (int): No longer supported.
force_writes (bool): No longer supported.
database (Optional[str]): This parameter is ignored. Please set the database on the Client instead.

Returns:
tasklets.Future: Optional[Model]: The retrieved entity, if one is
Expand Down