Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fmt - clippy
  • Loading branch information
michaelfeil committed Jul 28, 2025
commit 2ca3285383cc037649969897d256d2a2c81f1b6a
2 changes: 1 addition & 1 deletion lib/bindings/python/rust/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl PyContext {
fn async_is_stopped<'a>(&self, py: Python<'a>, wait_for: u16) -> PyResult<Bound<'a, PyAny>> {
let inner = self.inner.clone();
// allow wait_for to be 360 seconds max
if wait_for > 360 || wait_for < 1 {
if !(1..=360).contains(&wait_for) {
return Err(pyo3::exceptions::PyValueError::new_err(
"wait_for must be between 1 and 360 seconds to allow for async task to cycle.",
));
Expand Down
Loading