fix: python lint

This commit is contained in:
JeanArhancet 2024-12-28 17:17:57 +01:00
parent cb69d8b0dd
commit 2a0402ce7f
3 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@ impl Cursor {
match stmt.borrow_mut().step().map_err(|e| {
PyErr::new::<OperationalError, _>(format!("Step error: {:?}", e))
})? {
limbo_core::RowResult::IO => {
limbo_core::StepResult::IO => {
self.conn.io.run_once().map_err(|e| {
PyErr::new::<OperationalError, _>(format!("IO error: {:?}", e))
})?;

Binary file not shown.

View file

@ -33,7 +33,7 @@ def test_in_memory_fetchone_select_all_users(provider):
cursor = conn.cursor()
cursor.execute("CREATE TABLE users (id INT PRIMARY KEY, username TEXT)")
cursor.execute("INSERT INTO users VALUES (1, 'alice')")
cursor.execute("SELECT * FROM users")
alice = cursor.fetchone()