def __setstate__(self, state):
    self._api = state['api']
    self._path_with_token = state['path_token']
    self._buffer = state['buffer']
    self._buffered = state['buffered']
    self._written = state['written']
    self._offset = state['offset']
    self.closed = state['closed']
    self.name = state['name']
Adds 'prefix' to the beginning of selected lines in 'text'.
dataset/ETHPy150Open GoogleCloudPlatform/billing-export-python/cloudstorage/storage_api.py/StreamingBuffer.__setstate__--crossover with--dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/textwrap.py/indent