Fix lint
parent
2f65cc65ff
commit
8356af5410
|
@ -195,7 +195,7 @@ pub(crate) fn extract_value(any: &PyAny) -> PyResult<Value> {
|
||||||
return Ok(Value::Facet(facet.inner));
|
return Ok(Value::Facet(facet.inner));
|
||||||
}
|
}
|
||||||
if let Ok(b) = any.extract::<Vec<u8>>() {
|
if let Ok(b) = any.extract::<Vec<u8>>() {
|
||||||
return Ok(Value::Bytes(b))
|
return Ok(Value::Bytes(b));
|
||||||
}
|
}
|
||||||
Err(to_pyerr(format!("Value unsupported {any:?}")))
|
Err(to_pyerr(format!("Value unsupported {any:?}")))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue