patroni.postgresql.connection module

class patroni.postgresql.connection.Connection

Bases: object

close() None
cursor() Union[cursor, Cursor[Any]]
get() Union[connection, Connection3[Any]]
server_version: int
set_conn_kwargs(conn_kwargs: Dict[str, Any]) None
patroni.postgresql.connection.get_connection_cursor(**kwargs: Any) Iterator[Union[cursor, Cursor[Any]]]