]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
docs: fix ']]' return value in Dumper.get_key() docs 979/head
authorstankudrow <stankudrow@reply.no>
Sat, 4 Jan 2025 06:58:30 +0000 (09:58 +0300)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 4 Jan 2025 11:59:27 +0000 (12:59 +0100)
Close #921.

psycopg/psycopg/abc.py

index aadf96746feab8f532d5107006881173582687a7..cf653b4eea13d8edc63da2f67b01bb6cf0c5a487 100644 (file)
@@ -30,7 +30,7 @@ Query: TypeAlias = Union[LiteralString, bytes, "sql.SQL", "sql.Composed"]
 Params: TypeAlias = Union[Sequence[Any], Mapping[str, Any]]
 ConnectionType = TypeVar("ConnectionType", bound="BaseConnection[Any]")
 PipelineCommand: TypeAlias = Callable[[], None]
-DumperKey: TypeAlias = Union[type, "tuple[DumperKey, ...]"]
+DumperKey: TypeAlias = Union[type, tuple["DumperKey", ...]]
 ConnParam: TypeAlias = Union[str, int, None]
 ConnDict: TypeAlias = dict[str, ConnParam]
 ConnMapping: TypeAlias = Mapping[str, ConnParam]