Skip to content

Commit 1ad24e2

Browse files
committed
Bumped version to 0.11.6
1 parent 8a04241 commit 1ad24e2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "psqlpy"
3-
version = "0.11.5"
3+
version = "0.11.6"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

src/driver/transaction.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::sync::Arc;
33
use futures::future;
44
use pyo3::{
55
pyclass, pymethods,
6-
types::{PyAnyMethods, PyList, PyTuple},
6+
types::{PyAnyMethods, PyList, PyListMethods, PyTuple},
77
Py, PyAny, PyErr, PyResult,
88
};
99
use tokio::sync::RwLock;
@@ -331,7 +331,7 @@ impl Transaction {
331331
let mut futures = vec![];
332332
if let Some(queries) = queries {
333333
let gil_result = pyo3::Python::with_gil(|gil| -> PyResult<()> {
334-
for single_query in queries.into_bound(gil).try_iter() {
334+
for single_query in queries.into_bound(gil).iter() {
335335
let query_tuple = single_query.downcast::<PyTuple>().map_err(|err| {
336336
RustPSQLDriverError::PyToRustValueConversionError(format!(
337337
"Cannot cast to tuple: {err}",

0 commit comments

Comments
 (0)