def stream(self, part_size=32 * PartSize.KB):
        """
        Creates an iterator which can be used to stream the file content.
        :param part_size: Size of the part in bytes. Default 32KB
        :return Iterator
        """
        download_info = self.download_info()
        response = self._api.get(
            url=download_info.url, stream=True, append_base=False
        )
        for part in response.iter_content(part_size):
            yield part
def stream ( self , part_size = 32 * PartSize . KB ) : download_info = self . download_info ( ) response = self . _api . get ( url = download_info . url , stream = True , append_base = False ) for part in response . iter_content ( part_size ) : yield part
Creates an iterator which can be used to stream the file content.
        :param part_size: Size of the part in bytes. Default 32KB
        :return Iterator