Fix psycopg2.sql.SQL.join annotation (#10716)

This commit is contained in:
Anders Kaseorg
2023-09-15 11:16:47 -07:00
committed by GitHub
parent bbd9dd1c4f
commit 0ea043253e

View File

@@ -1,4 +1,3 @@
from _typeshed import SupportsIter
from collections.abc import Iterable, Iterator
from typing import Any, Generic, TypeVar
@@ -27,7 +26,7 @@ class SQL(Composable):
@property
def string(self) -> str: ...
def format(self, *args: Composable, **kwargs: Composable) -> Composed: ...
def join(self, seq: SupportsIter[Composable]) -> Composed: ...
def join(self, seq: Iterable[Composable]) -> Composed: ...
class Identifier(Composable):
def __init__(self, *strings: str) -> None: ...