mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-22 00:15:20 +01:00
fix: python lint
This commit is contained in:
@@ -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.
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user