Skip to content

Commit dadca4a

Browse files
committed
Replace integer with int in types.
Uses the command: ag -l 'type ([^:]+): integer' | \ xargs gsed -r -i.bak -e 's/type ([^:]+): integer/type \1: int/g'
1 parent 7f8dd27 commit dadca4a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,10 @@ def fetch(self, limit=None, offset=0, start_cursor=None, end_cursor=None,
327327
>>> list(query.fetch(1))
328328
[<Entity object>]
329329
330-
:type limit: integer or None
330+
:type limit: int or None
331331
:param limit: An optional limit passed through to the iterator.
332332
333-
:type offset: integer
333+
:type offset: int
334334
:param offset: An optional offset passed through to the iterator.
335335
336336
:type start_cursor: bytes
@@ -366,10 +366,10 @@ class Iterator(object):
366366
:type client: :class:`google.cloud.datastore.client.Client`
367367
:param client: The client used to make a request.
368368
369-
:type limit: integer
369+
:type limit: int
370370
:param limit: (Optional) Limit the number of results returned.
371371
372-
:type offset: integer
372+
:type offset: int
373373
:param offset: (Optional) Offset used to begin a query.
374374
375375
:type start_cursor: bytes

0 commit comments

Comments
 (0)