in src/azstoragetorch/io.py [0:0]
def _get_limit(self, size: Optional[int]) -> int:
if size is None or size < 0:
# If size is not provided, set the initial limit to the blob size as BlobIO
# will never read more than the size of the blob in a single readline() call.
return self._client.get_blob_size()
return size