def close(self):
        if not self._closed:
            self.__flush()
            object.__setattr__(self, "_closed", True)
Flush the file and close it.
dataset/ETHPy150Open blynch/CloudMemeBackend/gridfs/grid_file.py/GridIn.close