Skip to content

Commit 2da69b4

Browse files
committed
Replace rtypes boolean with bool.
Uses the command: ag -l 'rtype: boolean' | xargs sed -i .bak 's/rtype: boolean/rtype: bool/g'
1 parent ed11195 commit 2da69b4

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/google-cloud-storage/google/cloud/storage/acl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def has_entity(self, entity):
258258
:type entity: :class:`_ACLEntity`
259259
:param entity: The entity to check for existence in this ACL.
260260
261-
:rtype: boolean
261+
:rtype: bool
262262
:returns: True of the entity exists in the ACL.
263263
"""
264264
self._ensure_loaded()

packages/google-cloud-storage/google/cloud/storage/blob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def exists(self, client=None):
254254
:param client: Optional. The client to use. If not passed, falls back
255255
to the ``client`` stored on the blob's bucket.
256256
257-
:rtype: boolean
257+
:rtype: bool
258258
:returns: True if the blob exists in Cloud Storage.
259259
"""
260260
client = self._require_client(client)

packages/google-cloud-storage/google/cloud/storage/bucket.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def exists(self, client=None):
134134
:param client: Optional. The client to use. If not passed, falls back
135135
to the ``client`` stored on the current bucket.
136136
137-
:rtype: boolean
137+
:rtype: bool
138138
:returns: True if the bucket exists in Cloud Storage.
139139
"""
140140
client = self._require_client(client)
@@ -720,7 +720,7 @@ def versioning_enabled(self):
720720
See: https://cloud.google.com/storage/docs/object-versioning for
721721
details.
722722
723-
:rtype: boolean
723+
:rtype: bool
724724
:returns: True if enabled, else False.
725725
"""
726726
versioning = self._properties.get('versioning', {})

0 commit comments

Comments
 (0)