Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
sorry pyright
  • Loading branch information
JelleZijlstra committed May 28, 2022
commit f2a445ea1a3ddac0d7cef97c947d003cd06f9cfb
6 changes: 3 additions & 3 deletions stubs/psycopg2/psycopg2/_psycopg.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ class connection:
@property
def isolation_level(self) -> int | None: ...
@isolation_level.setter
def isolation_level(self, __value: str | bytes | int | None) -> None: ...
def isolation_level(self, __value: str | bytes | int | None) -> None: ... # pyright: ignore
notices: list[Any]
notifies: list[Any]
@property
Expand All @@ -397,11 +397,11 @@ class connection:
@property
def deferrable(self) -> bool | None: ...
@deferrable.setter
def deferrable(self, __value: Literal["default"] | bool | None) -> None: ...
def deferrable(self, __value: Literal["default"] | bool | None) -> None: ... # pyright: ignore
@property
def readonly(self) -> bool | None: ...
@readonly.setter
def readonly(self, __value: Literal["default"] | bool | None) -> None: ...
def readonly(self, __value: Literal["default"] | bool | None) -> None: ... # pyright: ignore
@property
def server_version(self) -> int: ...
@property
Expand Down