Skip to content

Commit 1a1b239

Browse files
authored
docs: get_connection docstring correction (#29)
Corrected docstrings for `get_connection`. Args were incorrectly listed as an accepted argument.
1 parent a87becf commit 1a1b239

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

litestar_asyncpg/config.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,6 @@ async def provide_connection(self, state: "State", scope: "Scope") -> "AsyncGene
288288
async def get_connection(self) -> "AsyncGenerator[AsyncpgConnection, None]":
289289
"""Create a connection instance.
290290
291-
Args:
292-
pool: The pool to grab a connection from
293-
294291
Returns:
295292
A connection instance.
296293
"""

0 commit comments

Comments
 (0)