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.
__future__
1 parent 76105cc commit 6905497Copy full SHA for 6905497
asyncpg/connect_utils.py
@@ -4,6 +4,7 @@
4
# This module is part of asyncpg and is released under
5
# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0
6
7
+from __future__ import annotations
8
9
import asyncio
10
import collections
@@ -813,7 +814,7 @@ async def _create_ssl_connection(
813
814
# TODO: The return type is a specific combination of subclasses of
815
# asyncio.protocols.Protocol that we can't express. For now, having the
816
# return type be dependent on signature of the factory is an improvement
- protocol_factory: "Callable[[], _ProctolFactoryR]",
817
+ protocol_factory: Callable[[], _ProctolFactoryR],
818
host: str,
819
port: int,
820
*,
0 commit comments