From aae2de1cf005ea02b3a71eb3d0f4997e788a2cca Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 21 May 2026 14:32:11 +0100 Subject: [PATCH] Update get_dict docstring --- rust/src/events/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rust/src/events/mod.rs b/rust/src/events/mod.rs index 0cf1923150..9225ea84bc 100644 --- a/rust/src/events/mod.rs +++ b/rust/src/events/mod.rs @@ -212,8 +212,7 @@ impl Event { }) } - /// Serializes the event into a Python dict (i.e. the same shape as if we - /// had parsed the event from JSON). + /// Convert the event to a dictionary suitable for serialisation. fn get_dict<'py>(&self, py: Python<'py>) -> PyResult> { Ok(pythonize(py, &self.parsed_event)?) }