__slots__ = ()
@overload
- def __init__(self: Cursor[Row], connection: Connection[Row]):
+ def __init__(self, connection: Connection[Row]):
...
@overload
- def __init__(
- self: Cursor[Row], connection: Connection[Any], *, row_factory: RowFactory[Row]
- ):
+ def __init__(self, connection: Connection[Any], *, row_factory: RowFactory[Row]):
...
def __init__(
__slots__ = ()
@overload
- def __init__(self: AsyncCursor[Row], connection: AsyncConnection[Row]):
+ def __init__(self, connection: AsyncConnection[Row]):
...
@overload
def __init__(
- self: AsyncCursor[Row],
- connection: AsyncConnection[Any],
- *,
- row_factory: AsyncRowFactory[Row],
+ self, connection: AsyncConnection[Any], *, row_factory: AsyncRowFactory[Row]
):
...
@overload
def __init__(
- self: "ServerCursor[Row]",
+ self,
connection: "Connection[Row]",
name: str,
*,
@overload
def __init__(
- self: "ServerCursor[Row]",
+ self,
connection: "Connection[Any]",
name: str,
*,
@overload
def __init__(
- self: "AsyncServerCursor[Row]",
+ self,
connection: "AsyncConnection[Row]",
name: str,
*,
@overload
def __init__(
- self: "AsyncServerCursor[Row]",
+ self,
connection: "AsyncConnection[Any]",
name: str,
*,