Skip to content

Commit e7ab357

Browse files
committed
Fix lint errors caused by addition of (Optional).
Mostly, lines that were too long.
1 parent b412f81 commit e7ab357

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

  • packages/google-cloud-datastore/google/cloud/datastore

packages/google-cloud-datastore/google/cloud/datastore/query.py

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,19 @@ class Query(object):
3535
:param kind: The kind to query.
3636
3737
:type project: str
38-
:param project: The project associated with the query. If not passed,
39-
uses the client's value.
38+
:param project:
39+
(Optional) The project associated with the query. If not passed, uses
40+
the client's value.
4041
4142
:type namespace: str
42-
:param namespace: (Optional) The namespace to which to restrict results. If not
43-
passed, uses the client's value.
43+
:param namespace:
44+
(Optional) The namespace to which to restrict results. If not passed,
45+
uses the client's value.
4446
4547
:type ancestor: :class:`google.cloud.datastore.key.Key`
46-
:param ancestor: (Optional) key of the ancestor to which this query's results are
47-
restricted.
48+
:param ancestor:
49+
(Optional) key of the ancestor to which this query's results are
50+
restricted.
4851
4952
:type filters: sequence of (property_name, operator, value) tuples
5053
:param filters: property filters applied by this query.
@@ -328,16 +331,16 @@ def fetch(self, limit=None, offset=0, start_cursor=None, end_cursor=None,
328331
[<Entity object>]
329332
330333
:type limit: int
331-
:param limit: (Optional) An optional limit passed through to the iterator.
334+
:param limit: (Optional) limit passed through to the iterator.
332335
333336
:type offset: int
334-
:param offset: An optional offset passed through to the iterator.
337+
:param offset: (Optional) offset passed through to the iterator.
335338
336339
:type start_cursor: bytes
337-
:param start_cursor: An optional cursor passed through to the iterator.
340+
:param start_cursor: (Optional) cursor passed through to the iterator.
338341
339342
:type end_cursor: bytes
340-
:param end_cursor: An optional cursor passed through to the iterator.
343+
:param end_cursor: (Optional) cursor passed through to the iterator.
341344
342345
:type client: :class:`google.cloud.datastore.client.Client`
343346
:param client: client used to connect to datastore.

0 commit comments

Comments
 (0)