Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 294e6bc

Browse files
Remove stringified annotations after future import
1 parent 4ba71c8 commit 294e6bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎asyncpg/connect_utils.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class _ConnectionParameters(typing.NamedTuple):
6060
sslmode: SSLMode
6161
ssl_negotiation: SSLNegotiation
6262
server_settings: typing.Optional[typing.Dict[str, str]]
63-
target_session_attrs: "SessionAttribute"
63+
target_session_attrs: SessionAttribute
6464
krbsrvname: typing.Optional[str]
6565
gsslib: str
6666

@@ -130,7 +130,7 @@ def _read_password_file(passfile: pathlib.Path) \
130130
def _read_password_from_pgpass(
131131
*,
132132
passfile: pathlib.Path,
133-
hosts: "Sequence[str]",
133+
hosts: Sequence[str],
134134
ports: typing.List[int],
135135
database: str,
136136
user: str
@@ -167,7 +167,7 @@ def _read_password_from_pgpass(
167167

168168

169169
def _validate_port_spec(
170-
hosts: "Sequence[object]", port: typing.Union[int, typing.List[int]]
170+
hosts: Sequence[object], port: typing.Union[int, typing.List[int]]
171171
) -> typing.List[int]:
172172
if isinstance(port, list):
173173
# If there is a list of ports, its length must

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /