mirror of
https://github.com/lancedb/lancedb.git
synced 2026-06-02 20:00:46 +00:00
fix(python): collapse nested if to fix CI issue
This commit is contained in:
@@ -1172,10 +1172,10 @@ impl Table {
|
||||
}
|
||||
}
|
||||
}
|
||||
if let Some(replace) = update.get_item("replace")? {
|
||||
if replace.extract::<bool>()? {
|
||||
field_update = field_update.replace();
|
||||
}
|
||||
if let Some(replace) = update.get_item("replace")?
|
||||
&& replace.extract::<bool>()?
|
||||
{
|
||||
field_update = field_update.replace();
|
||||
}
|
||||
Ok(field_update)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user