Skip to content

Commit 85fca3f

Browse files
committed
Unbreak documentation build.
1 parent 9fcddfc commit 85fca3f

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

asyncpg/connection.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,8 @@ def add_query_logger(self, callback):
231231
232232
:param callable callback:
233233
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`.
234+
**record**, a LoggedQuery containing `query`, `args`, `timeout`,
235+
`elapsed`, `exception`, `conn_addr`, and `conn_params`.
237236
238237
.. versionadded:: 0.29.0
239238
"""
@@ -1809,9 +1808,8 @@ def query_logger(self, callback):
18091808
18101809
:param callable callback:
18111810
A callable or a coroutine function receiving one argument:
1812-
**record**: a LoggedQuery containing `query`, `args`, `timeout`,
1813-
`elapsed`, `exception`, `conn_addr`, and
1814-
`conn_params`.
1811+
**record**, a LoggedQuery containing `query`, `args`, `timeout`,
1812+
`elapsed`, `exception`, `conn_addr`, and `conn_params`.
18151813
18161814
Example:
18171815

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
with open(version_file, 'r') as f:
1212
for line in f:
13-
if line.startswith('__version__ ='):
13+
if line.startswith('__version__: typing.Final ='):
1414
_, _, version = line.partition('=')
1515
version = version.strip(" \n'\"")
1616
break

0 commit comments

Comments
 (0)