From 59d92b3cc409fac83ea84286fbda15375a6a6ae2 Mon Sep 17 00:00:00 2001 From: Benjamin Bolte Date: Fri, 22 Nov 2024 22:32:38 -0800 Subject: [PATCH] fix bad types --- Cargo.toml | 2 +- krec/bindings/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 39e1549..7325592 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,5 +22,5 @@ prost-build = "0.12" members = ["krec/bindings"] [workspace.package] -version = "0.2.1" +version = "0.2.2" edition = "2021" diff --git a/krec/bindings/src/lib.rs b/krec/bindings/src/lib.rs index 2937292..7c4f9c3 100644 --- a/krec/bindings/src/lib.rs +++ b/krec/bindings/src/lib.rs @@ -998,8 +998,8 @@ struct PyKRecHeader { inner: KRecHeader, } -#[pymethods] #[gen_stub_pymethods] +#[pymethods] impl PyKRecHeader { #[new] #[pyo3(signature = (uuid=None, task=None, robot_platform=None, robot_serial=None, start_timestamp=None, end_timestamp=None, values=None))] @@ -1140,8 +1140,8 @@ struct PyKRecFrame { inner: KRecFrame, } -#[pymethods] #[gen_stub_pymethods] +#[pymethods] impl PyKRecFrame { #[new] #[pyo3(signature = (video_timestamp=None, frame_number=None, inference_step=None, values=None))]