From 4212b6ca8984f36674e2957d4a4854361de47849 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Thu, 12 May 2022 21:46:30 +0200 Subject: [PATCH] docs: drop docsting for AsyncPipeline.sync 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 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/psycopg/psycopg/_pipeline.py b/psycopg/psycopg/_pipeline.py index e207f5834..c524a10b0 100644 --- a/psycopg/psycopg/_pipeline.py +++ b/psycopg/psycopg/_pipeline.py @@ -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()) -- 2.47.2