From 39713253264d2a89873c57ec74d34ea86e3498da Mon Sep 17 00:00:00 2001 From: Sidhant29 Date: Sat, 18 Mar 2023 14:45:18 +1000 Subject: [PATCH] updated add_float_field signature --- src/schemabuilder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schemabuilder.rs b/src/schemabuilder.rs index 76c972c..17493c0 100644 --- a/src/schemabuilder.rs +++ b/src/schemabuilder.rs @@ -132,7 +132,7 @@ impl SchemaBuilder { Ok(self.clone()) } - #[args(stored = false, indexed = false)] + #[pyo3(signature = (name, stored = false, indexed = false, fast = None))] fn add_float_field( &mut self, name: &str,