| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
84c624460d | Remove borrow on send_output to avoid double mutable borrow on node | 1 year ago |
|
|
2c3da7165d | Downgrade dev dependency for better support for old python version | 1 year ago |
| @@ -155,7 +155,7 @@ impl Node { | |||||
| /// :rtype: None | /// :rtype: None | ||||
| #[pyo3(signature = (output_id, data, metadata=None))] | #[pyo3(signature = (output_id, data, metadata=None))] | ||||
| pub fn send_output( | pub fn send_output( | ||||
| &mut self, | |||||
| &self, | |||||
| output_id: String, | output_id: String, | ||||
| data: PyObject, | data: PyObject, | ||||
| metadata: Option<Bound<'_, PyDict>>, | metadata: Option<Bound<'_, PyDict>>, | ||||
| @@ -41,7 +41,7 @@ impl<T> DelayedCleanup<T> { | |||||
| CleanupHandle(self.0.clone()) | CleanupHandle(self.0.clone()) | ||||
| } | } | ||||
| pub fn get_mut(&mut self) -> std::sync::MutexGuard<T> { | |||||
| pub fn get_mut(&self) -> std::sync::MutexGuard<T> { | |||||
| self.0.try_lock().expect("failed to lock DelayedCleanup") | self.0.try_lock().expect("failed to lock DelayedCleanup") | ||||
| } | } | ||||
| } | } | ||||
| @@ -12,13 +12,13 @@ packages = [{ include = "__node_name__" }] | |||||
| [tool.poetry.dependencies] | [tool.poetry.dependencies] | ||||
| dora-rs = "^0.3.6" | dora-rs = "^0.3.6" | ||||
| numpy = "< 2.0.0" | numpy = "< 2.0.0" | ||||
| pyarrow = ">= 5.0.0" | |||||
| pyarrow = ">= 15.0.0" | |||||
| python = "^3.7" | python = "^3.7" | ||||
| [tool.poetry.dev-dependencies] | [tool.poetry.dev-dependencies] | ||||
| pytest = ">= 8.3.4" | |||||
| pytest = ">= 6.3.4" | |||||
| pylint = ">= 3.3.2" | pylint = ">= 3.3.2" | ||||
| black = ">= 24.10" | |||||
| black = ">= 22.10" | |||||
| [tool.poetry.scripts] | [tool.poetry.scripts] | ||||
| __node-name__ = "__node_name__.main:main" | __node-name__ = "__node_name__.main:main" | ||||