

def __init__(self, name, storage, mode):
    self._storage = storage
    self._name = name[len(self._storage.location):].lstrip('/')
    self._mode = mode
    self.file = six.BytesIO()
    self._is_dirty = False
    self._is_read = False

dataset/ETHPy150Open glasslion/django-qiniu-storage/qiniustorage/backends.py QiniuFile.__init__/original