Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions stubs/psycopg2/psycopg2/_psycopg.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class cursor:
itersize: int
row_factory: Incomplete | None
scrollable: bool | None
string_types: Incomplete | None
string_types: dict[int, _type] | None
tzinfo_factory: Callable[..., dt.tzinfo]
withhold: bool
def __init__(self, conn: _Connection, name: str | bytes | None = None) -> None: ...
Expand Down Expand Up @@ -480,7 +480,7 @@ class connection:
@property
def status(self) -> int: ...
@property
def string_types(self) -> dict[Incomplete, Incomplete]: ...
def string_types(self) -> dict[int, _type]: ...
# Really it's dsn: str, async: int = 0, async_: int = 0, but
# that would be a syntax error.
def __init__(self, dsn: str, *, async_: int = 0) -> None: ...
Expand Down
Loading