Compare commits

...

3 changed files with 5 additions and 5 deletions
Unified View
  1. +1
    -1
      apis/python/node/src/lib.rs
  2. +1
    -1
      apis/python/operator/src/lib.rs
  3. +3
    -3
      binaries/cli/src/template/python/__node-name__/pyproject.toml

+ 1
- 1
apis/python/node/src/lib.rs View File

@@ -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>>,


+ 1
- 1
apis/python/operator/src/lib.rs View File

@@ -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")
} }
} }


+ 3
- 3
binaries/cli/src/template/python/__node-name__/pyproject.toml View File

@@ -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"


Loading…
Cancel
Save