Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

Commit 037596d

Browse files
Merge branch 'main' into release-please--branches--main
2 parents 1732170 + 65d9d16 commit 037596d

2 files changed

Lines changed: 10 additions & 20 deletions

File tree

google/cloud/firestore_v1/aggregation.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ def get(
6767
messages.
6868
6969
Args:
70-
transaction
71-
(Optional[:class:`~google.cloud.firestore_v1.transaction.Transaction`]):
70+
transaction (Optional[:class:`~google.cloud.firestore_v1.transaction.Transaction`]):
7271
An existing transaction that this query will run in.
7372
If a ``transaction`` is used and it already has write operations
7473
added, this method cannot be used (i.e. read-after-write is not
@@ -77,8 +76,7 @@ def get(
7776
should be retried. Defaults to a system-specified policy.
7877
timeout (float): The timeout for this request. Defaults to a
7978
system-specified value.
80-
explain_options
81-
(Optional[:class:`~google.cloud.firestore_v1.query_profile.ExplainOptions`]):
79+
explain_options (Optional[:class:`~google.cloud.firestore_v1.query_profile.ExplainOptions`]):
8280
Options to enable query profiling for this query. When set,
8381
explain_metrics will be available on the returned generator.
8482
read_time (Optional[datetime.datetime]): If set, reads documents as they were at the given
@@ -155,16 +153,14 @@ def _make_stream(
155153
this method cannot be used (i.e. read-after-write is not allowed).
156154
157155
Args:
158-
transaction
159-
(Optional[:class:`~google.cloud.firestore_v1.transaction.Transaction`]):
156+
transaction (Optional[:class:`~google.cloud.firestore_v1.transaction.Transaction`]):
160157
An existing transaction that this query will run in.
161158
retry (Optional[google.api_core.retry.Retry]): Designation of what
162159
errors, if any, should be retried. Defaults to a
163160
system-specified policy.
164161
timeout (Optional[float]): The timeout for this request. Defaults
165162
to a system-specified value.
166-
explain_options
167-
(Optional[:class:`~google.cloud.firestore_v1.query_profile.ExplainOptions`]):
163+
explain_options (Optional[:class:`~google.cloud.firestore_v1.query_profile.ExplainOptions`]):
168164
Options to enable query profiling for this query. When set,
169165
explain_metrics will be available on the returned generator.
170166
read_time (Optional[datetime.datetime]): If set, reads documents as they were at the given
@@ -237,16 +233,14 @@ def stream(
237233
this method cannot be used (i.e. read-after-write is not allowed).
238234
239235
Args:
240-
transaction
241-
(Optional[:class:`~google.cloud.firestore_v1.transaction.Transaction`]):
236+
transaction (Optional[:class:`~google.cloud.firestore_v1.transaction.Transaction`]):
242237
An existing transaction that this query will run in.
243238
retry (Optional[google.api_core.retry.Retry]): Designation of what
244239
errors, if any, should be retried. Defaults to a
245240
system-specified policy.
246241
timeout (Optinal[float]): The timeout for this request. Defaults
247242
to a system-specified value.
248-
explain_options
249-
(Optional[:class:`~google.cloud.firestore_v1.query_profile.ExplainOptions`]):
243+
explain_options (Optional[:class:`~google.cloud.firestore_v1.query_profile.ExplainOptions`]):
250244
Options to enable query profiling for this query. When set,
251245
explain_metrics will be available on the returned generator.
252246
read_time (Optional[datetime.datetime]): If set, reads documents as they were at the given

google/cloud/firestore_v1/async_aggregation.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ async def get(
6363
This sends a ``RunAggregationQuery`` RPC and returns a list of aggregation results in the stream of ``RunAggregationQueryResponse`` messages.
6464
6565
Args:
66-
transaction
67-
(Optional[:class:`~google.cloud.firestore_v1.transaction.Transaction`]):
66+
transaction (Optional[:class:`~google.cloud.firestore_v1.transaction.Transaction`]):
6867
An existing transaction that this query will run in.
6968
If a ``transaction`` is used and it already has write operations
7069
added, this method cannot be used (i.e. read-after-write is not
@@ -73,8 +72,7 @@ async def get(
7372
should be retried. Defaults to a system-specified policy.
7473
timeout (float): The timeout for this request. Defaults to a
7574
system-specified value.
76-
explain_options
77-
(Optional[:class:`~google.cloud.firestore_v1.query_profile.ExplainOptions`]):
75+
explain_options (Optional[:class:`~google.cloud.firestore_v1.query_profile.ExplainOptions`]):
7876
Options to enable query profiling for this query. When set,
7977
explain_metrics will be available on the returned generator.
8078
read_time (Optional[datetime.datetime]): If set, reads documents as they were at the given
@@ -134,8 +132,7 @@ async def _make_stream(
134132
system-specified policy.
135133
timeout (Optional[float]): The timeout for this request. Defaults
136134
to a system-specified value.
137-
explain_options
138-
(Optional[:class:`~google.cloud.firestore_v1.query_profile.ExplainOptions`]):
135+
explain_options (Optional[:class:`~google.cloud.firestore_v1.query_profile.ExplainOptions`]):
139136
Options to enable query profiling for this query. When set,
140137
explain_metrics will be available on the returned generator.
141138
read_time (Optional[datetime.datetime]): If set, reads documents as they were at the given
@@ -200,8 +197,7 @@ def stream(
200197
system-specified policy.
201198
timeout (Optional[float]): The timeout for this request. Defaults
202199
to a system-specified value.
203-
explain_options
204-
(Optional[:class:`~google.cloud.firestore_v1.query_profile.ExplainOptions`]):
200+
explain_options (Optional[:class:`~google.cloud.firestore_v1.query_profile.ExplainOptions`]):
205201
Options to enable query profiling for this query. When set,
206202
explain_metrics will be available on the returned generator.
207203
read_time (Optional[datetime.datetime]): If set, reads documents as they were at the given

0 commit comments

Comments
 (0)