def close(self):

        f = io.BytesIO()
        pickler = fbuild.db.backend.Pickler(self._ctx, f)

        pickler.dump((
            self._functions,
            self._function_calls,
            self._files,
            self._call_files,
            self._external_srcs,
            self._external_dsts))

        s = f.getvalue()

        # Try to save the state as atomically as possible. Unfortunately, if
        # someone presses ctrl+c while we're saving, we might corrupt the db.
        # So, we'll write to a temp file, then move the old state file out of
        # the way, then rename the temp file to the filename.
        path = fbuild.path.Path(self._file_name)
        tmp = path + '.tmp'
        old = path + '.old'

        with open(tmp, 'wb') as f:
            f.write(s)

        if path.exists():
            path.rename(old)

        tmp.rename(path)

        if old.exists():
            old.remove()
GETs the account and returns the results. This is done to list
dataset/ETHPy150Open felix-lang/fbuild/lib/fbuild/db/pickle_backend.py/PickleBackend.close--crossover with--dataset/ETHPy150Open gholt/swiftly/swiftly/client/client.py/Client.get_account