mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
Fix psycopg2.sql.SQL.join annotation (#10716)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user