]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
docs: drop docsting for AsyncPipeline.sync
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 12 May 2022 19:46:30 +0000 (21:46 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 12 May 2022 19:46:30 +0000 (21:46 +0200)
It was out of date and, for Sync/Async objects, Async docs don't
reiterate what's on the Sync side, they only show the different
signature.

psycopg/psycopg/_pipeline.py

index e207f58341be16143dcdc1e88378c788ba45481a..c524a10b09bc7d6f07bccc824853eee53b6fcf68 100644 (file)
@@ -229,12 +229,6 @@ class AsyncPipeline(BasePipeline):
         super().__init__(conn)
 
     async def sync(self) -> None:
-        """Sync the pipeline, send any pending command and fetch and process
-        all available results.
-
-        This is called when exiting the pipeline, but can be used for other
-        purposes (e.g. in nested pipelines).
-        """
         try:
             async with self._conn.lock:
                 await self._conn.wait(self._sync_gen())