def edit_document(self, thread_id, content, operation=APPEND, format="html",
                      section_id=None, **kwargs):
        args = {
            "thread_id": thread_id,
            "content": content,
            "location": operation,
            "format": format,
            "section_id": section_id,
        }
        args.update(kwargs)
        return self._fetch_json("threads/edit-document", post_data=args)
``BuildScript.main`` calls ``run`` on the instance returned by
dataset/ETHPy150Open quip/quip-api/python/quip.py/QuipClient.edit_document--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/admin/test/test_packaging.py/BuildScriptTests.test_run