server_cursor_factory: Type[ServerCursor[Row]]
row_factory: RowFactory[Row]
_pipeline: Optional[Pipeline]
- _Self = TypeVar("_Self", bound="Connection[Row]")
+ _Self = TypeVar("_Self", bound="Connection[Any]")
def __init__(
self,
server_cursor_factory: Type[AsyncServerCursor[Row]]
row_factory: AsyncRowFactory[Row]
_pipeline: Optional[AsyncPipeline]
- _Self = TypeVar("_Self", bound="AsyncConnection[Row]")
+ _Self = TypeVar("_Self", bound="AsyncConnection[Any]")
def __init__(
self,
a file for later use.
"""
- _Self = TypeVar("_Self", bound="BaseCopy[ConnectionType]")
+ _Self = TypeVar("_Self", bound="BaseCopy[Any]")
formatter: "Formatter"
class Cursor(BaseCursor["Connection[Any]", Row]):
__module__ = "psycopg"
__slots__ = ()
- _Self = TypeVar("_Self", bound="Cursor[Row]")
+ _Self = TypeVar("_Self", bound="Cursor[Any]")
@overload
def __init__(self: "Cursor[Row]", connection: "Connection[Row]"):
class AsyncCursor(BaseCursor["AsyncConnection[Any]", Row]):
__module__ = "psycopg"
__slots__ = ()
- _Self = TypeVar("_Self", bound="AsyncCursor[Row]")
+ _Self = TypeVar("_Self", bound="AsyncCursor[Any]")
@overload
def __init__(self: "AsyncCursor[Row]", connection: "AsyncConnection[Row]"):
class ServerCursor(ServerCursorMixin["Connection[Any]", Row], Cursor[Row]):
__module__ = "psycopg"
__slots__ = ()
- _Self = TypeVar("_Self", bound="ServerCursor[Row]")
+ _Self = TypeVar("_Self", bound="ServerCursor[Any]")
@overload
def __init__(
):
__module__ = "psycopg"
__slots__ = ()
- _Self = TypeVar("_Self", bound="AsyncServerCursor[Row]")
+ _Self = TypeVar("_Self", bound="AsyncServerCursor[Any]")
@overload
def __init__(