def read(self, size=None):
        if not size or size < 0:
            # For compatibility with standard Python, `read(negative)` = read the rest of the file.
            # Otherwise, boto would read *from the start* if given size=-1.
            size = 0
        return self.read_key.read(size)
Returns list of disk warning for a given client object.
dataset/ETHPy150Open piskvorky/smart_open/smart_open/smart_open_lib.py/S3OpenRead.read--crossover with--dataset/ETHPy150Open google/grr/grr/gui/api_aff4_object_renderers.py/VFSGRRClientApiObjectRenderer._GetDiskWarnings