Skip to content

Commit cb469cc

Browse files
tswastcojenco
authored andcommitted
Replaces integer with int in rtypes.
Uses the command: ag -l 'rtype: integer' | xargs sed -i .bak 's/rtype: integer/rtype: int/g'
1 parent cc68f3b commit cb469cc

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

google/cloud/storage/blob.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def __init__(self, name, bucket, chunk_size=None, encryption_key=None):
8585
def chunk_size(self):
8686
"""Get the blob's default chunk size.
8787
88-
:rtype: integer or ``NoneType``
88+
:rtype: int or ``NoneType``
8989
:returns: The current blob's chunk size, if it is set.
9090
"""
9191
return self._chunk_size
@@ -773,7 +773,7 @@ def component_count(self):
773773
774774
See: https://cloud.google.com/storage/docs/json_api/v1/objects
775775
776-
:rtype: integer or ``NoneType``
776+
:rtype: int or ``NoneType``
777777
:returns: The component count (in case of a composed object) or
778778
``None`` if the property is not set locally. This property
779779
will not be set on objects not created via ``compose``.
@@ -800,7 +800,7 @@ def generation(self):
800800
801801
See: https://cloud.google.com/storage/docs/json_api/v1/objects
802802
803-
:rtype: integer or ``NoneType``
803+
:rtype: int or ``NoneType``
804804
:returns: The generation of the blob or ``None`` if the property
805805
is not set locally.
806806
"""
@@ -872,7 +872,7 @@ def metageneration(self):
872872
873873
See: https://cloud.google.com/storage/docs/json_api/v1/objects
874874
875-
:rtype: integer or ``NoneType``
875+
:rtype: int or ``NoneType``
876876
:returns: The metageneration of the blob or ``None`` if the property
877877
is not set locally.
878878
"""
@@ -910,7 +910,7 @@ def size(self):
910910
911911
See: https://cloud.google.com/storage/docs/json_api/v1/objects
912912
913-
:rtype: integer or ``NoneType``
913+
:rtype: int or ``NoneType``
914914
:returns: The size of the blob or ``None`` if the property
915915
is not set locally.
916916
"""

google/cloud/storage/bucket.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ def metageneration(self):
626626
627627
See: https://cloud.google.com/storage/docs/json_api/v1/buckets
628628
629-
:rtype: integer or ``NoneType``
629+
:rtype: int or ``NoneType``
630630
:returns: The metageneration of the bucket or ``None`` if the property
631631
is not set locally.
632632
"""
@@ -652,7 +652,7 @@ def project_number(self):
652652
653653
See: https://cloud.google.com/storage/docs/json_api/v1/buckets
654654
655-
:rtype: integer or ``NoneType``
655+
:rtype: int or ``NoneType``
656656
:returns: The project number that owns the bucket or ``None`` if the
657657
property is not set locally.
658658
"""

0 commit comments

Comments
 (0)