parameters: (self)
docstring: Closes FileIO. Should be called for the WritableFile to be flushed.
docstring_summary: Closes FileIO. Should be called for the WritableFile to be flushed.
docstring_tokens: Closes FileIO . Should be called for the WritableFile to be flushed .
function: def close(self):
      """Closes FileIO. Should be called for the WritableFile to be flushed."""
      self._read_buf = None
      if self._writable_file:
        with errors.raise_exception_on_not_ok_status() as status:
          ret_status = self._writable_file.Close()
          pywrap_tensorflow.Set_TF_Status_from_Status(status, ret_status)
      self._writable_file = None
function_tokens: def close ( self ) : self . _read_buf = None if self . _writable_file : with errors . raise_exception_on_not_ok_status ( ) as status : ret_status = self . _writable_file . Close ( ) pywrap_tensorflow . Set_TF_Status_from_Status ( status , ret_status ) self . _writable_file = None