8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fcddfc commit 85fca3fCopy full SHA for 85fca3f
asyncpg/connection.py
@@ -231,9 +231,8 @@ def add_query_logger(self, callback):
231
232
:param callable callback:
233
A callable or a coroutine function receiving one argument:
234
- **record**: a LoggedQuery containing `query`, `args`, `timeout`,
235
- `elapsed`, `exception`, `conn_addr`, and
236
- `conn_params`.
+ **record**, a LoggedQuery containing `query`, `args`, `timeout`,
+ `elapsed`, `exception`, `conn_addr`, and `conn_params`.
237
238
.. versionadded:: 0.29.0
239
"""
@@ -1809,9 +1808,8 @@ def query_logger(self, callback):
1809
1808
1810
1811
1812
1813
1814
1815
1816
Example:
1817
docs/conf.py
@@ -10,7 +10,7 @@
10
11
with open(version_file, 'r') as f:
12
for line in f:
13
- if line.startswith('__version__ ='):
+ if line.startswith('__version__: typing.Final ='):
14
_, _, version = line.partition('=')
15
version = version.strip(" \n'\"")
16
break
0 commit comments