[go: up one dir, main page]

Skip to content

Commit

Permalink
docs: Correct read_consistency docs. (#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
sorced-jim committed Feb 27, 2024
1 parent b5c8477 commit 7e8481d
Showing 1 changed file with 21 additions and 35 deletions.
56 changes: 21 additions & 35 deletions google/cloud/ndb/query.py
Expand Up @@ -1742,11 +1742,9 @@ def fetch(self, limit=None, **kwargs):
end_cursor: Endpoint point for search.
timeout (Optional[int]): Override the gRPC timeout, in seconds.
deadline (Optional[int]): DEPRECATED: Synonym for ``timeout``.
read_consistency: If not in a transaction, defaults to
``ndb.EVENTUAL`` for potentially faster query results without
having to wait for Datastore to apply pending changes to all
returned records. Otherwise consistency with current
transaction is maintained.
read_consistency: If set then passes the explicit read consistency to
the server. May not be set to ``ndb.EVENTUAL`` when a transaction
is specified.
read_policy: DEPRECATED: Synonym for ``read_consistency``.
transaction (bytes): Transaction ID to use for query. Results will
be consistent with Datastore state for that transaction.
Expand Down Expand Up @@ -1795,11 +1793,9 @@ def fetch_async(self, limit=None, **kwargs):
end_cursor: Endpoint point for search.
timeout (Optional[int]): Override the gRPC timeout, in seconds.
deadline (Optional[int]): DEPRECATED: Synonym for ``timeout``.
read_consistency: If not in a transaction, defaults to
``ndb.EVENTUAL`` for potentially faster query results without
having to wait for Datastore to apply pending changes to all
returned records. Otherwise consistency with current
transaction is maintained.
read_consistency: If set then passes the explicit read consistency to
the server. May not be set to ``ndb.EVENTUAL`` when a transaction
is specified.
read_policy: DEPRECATED: Synonym for ``read_consistency``.
transaction (bytes): Transaction ID to use for query. Results will
be consistent with Datastore state for that transaction.
Expand Down Expand Up @@ -1897,11 +1893,9 @@ def iter(self, **kwargs):
end_cursor: Endpoint point for search.
timeout (Optional[int]): Override the gRPC timeout, in seconds.
deadline (Optional[int]): DEPRECATED: Synonym for ``timeout``.
read_consistency: If not in a transaction, defaults to
``ndb.EVENTUAL`` for potentially faster query results without
having to wait for Datastore to apply pending changes to all
returned records. Otherwise consistency with current
transaction is maintained.
read_consistency: If set then passes the explicit read consistency to
the server. May not be set to ``ndb.EVENTUAL`` when a transaction
is specified.
read_policy: DEPRECATED: Synonym for ``read_consistency``.
transaction (bytes): Transaction ID to use for query. Results will
be consistent with Datastore state for that transaction.
Expand Down Expand Up @@ -1960,11 +1954,9 @@ def map(self, callback, **kwargs):
end_cursor: Endpoint point for search.
timeout (Optional[int]): Override the gRPC timeout, in seconds.
deadline (Optional[int]): DEPRECATED: Synonym for ``timeout``.
read_consistency: If not in a transaction, defaults to
``ndb.EVENTUAL`` for potentially faster query results without
having to wait for Datastore to apply pending changes to all
returned records. Otherwise consistency with current
transaction is maintained.
read_consistency: If set then passes the explicit read consistency to
the server. May not be set to ``ndb.EVENTUAL`` when a transaction
is specified.
read_policy: DEPRECATED: Synonym for ``read_consistency``.
transaction (bytes): Transaction ID to use for query. Results will
be consistent with Datastore state for that transaction.
Expand Down Expand Up @@ -2073,11 +2065,9 @@ def get(self, **kwargs):
end_cursor: Endpoint point for search.
timeout (Optional[int]): Override the gRPC timeout, in seconds.
deadline (Optional[int]): DEPRECATED: Synonym for ``timeout``.
read_consistency: If not in a transaction, defaults to
``ndb.EVENTUAL`` for potentially faster query results without
having to wait for Datastore to apply pending changes to all
returned records. Otherwise consistency with current
transaction is maintained.
read_consistency: If set then passes the explicit read consistency to
the server. May not be set to ``ndb.EVENTUAL`` when a transaction
is specified.
read_policy: DEPRECATED: Synonym for ``read_consistency``.
transaction (bytes): Transaction ID to use for query. Results will
be consistent with Datastore state for that transaction.
Expand Down Expand Up @@ -2178,11 +2168,9 @@ def count(self, limit=None, **kwargs):
end_cursor: Endpoint point for search.
timeout (Optional[int]): Override the gRPC timeout, in seconds.
deadline (Optional[int]): DEPRECATED: Synonym for ``timeout``.
read_consistency: If not in a transaction, defaults to
``ndb.EVENTUAL`` for potentially faster query results without
having to wait for Datastore to apply pending changes to all
returned records. Otherwise consistency with current
transaction is maintained.
read_consistency: If set then passes the explicit read consistency to
the server. May not be set to ``ndb.EVENTUAL`` when a transaction
is specified.
read_policy: DEPRECATED: Synonym for ``read_consistency``.
transaction (bytes): Transaction ID to use for query. Results will
be consistent with Datastore state for that transaction.
Expand Down Expand Up @@ -2272,11 +2260,9 @@ def fetch_page(self, page_size, **kwargs):
end_cursor: Endpoint point for search.
timeout (Optional[int]): Override the gRPC timeout, in seconds.
deadline (Optional[int]): DEPRECATED: Synonym for ``timeout``.
read_consistency: If not in a transaction, defaults to
``ndb.EVENTUAL`` for potentially faster query results without
having to wait for Datastore to apply pending changes to all
returned records. Otherwise consistency with current
transaction is maintained.
read_consistency: If set then passes the explicit read consistency to
the server. May not be set to ``ndb.EVENTUAL`` when a transaction
is specified.
read_policy: DEPRECATED: Synonym for ``read_consistency``.
transaction (bytes): Transaction ID to use for query. Results will
be consistent with Datastore state for that transaction.
Expand Down

0 comments on commit 7e8481d

Please sign in to comment.