@@ -94,8 +94,8 @@ def chunk_size(self):
9494 def chunk_size (self , value ):
9595 """Set the blob's default chunk size.
9696
97- :type value: int or ``NoneType``
98- :param value: The current blob's chunk size, if it is set.
97+ :type value: int
98+ :param value: (Optional) The current blob's chunk size, if it is set.
9999
100100 :raises: :class:`ValueError` if ``value`` is not ``None`` and is not a
101101 multiple of 256 KB.
@@ -450,7 +450,7 @@ def upload_from_file(self, file_obj, rewind=False, size=None,
450450 :func:`os.fstat`. (If the file handle is not from the
451451 filesystem this won't be possible.)
452452
453- :type content_type: str or ``NoneType``
453+ :type content_type: str
454454 :param content_type: Optional type of content being uploaded.
455455
456456 :type num_retries: int
@@ -567,7 +567,7 @@ def upload_from_filename(self, filename, content_type=None, client=None):
567567 :type filename: str
568568 :param filename: The path to the file.
569569
570- :type content_type: str or ``NoneType``
570+ :type content_type: str
571571 :param content_type: Optional type of content being uploaded.
572572
573573 :type client: :class:`~google.cloud.storage.client.Client` or
@@ -861,8 +861,8 @@ def metadata(self, value):
861861
862862 See: https://cloud.google.com/storage/docs/json_api/v1/objects
863863
864- :type value: dict or ``NoneType``
865- :param value: The blob metadata to set.
864+ :type value: dict
865+ :param value: (Optional) The blob metadata to set.
866866 """
867867 self ._patch_property ('metadata' , value )
868868
0 commit comments