Skip to content

Commit b61567d

Browse files
committed
Add versionchanged tag to Connection.execute docstring
1 parent 4053587 commit b61567d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

asyncpg/connection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ async def execute(self, query: str, *args, timeout: float=None) -> str:
136136
:param args: Query arguments.
137137
:param float timeout: Optional timeout value in seconds.
138138
:return str: Status of the last SQL command.
139+
140+
.. versionchanged:: 0.5.4
141+
Made it possible to pass query arguments.
139142
"""
140143
if not args:
141144
return await self._protocol.query(query, timeout)

0 commit comments

Comments
 (0)