From 493577e6797c2bda5c7cfb92c905f5704d30cb04 Mon Sep 17 00:00:00 2001 From: williamfzc <178894043@qq.com> Date: Wed, 20 Nov 2024 23:35:53 +0800 Subject: [PATCH] chore: expose missing struct to py --- src/symbol.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/symbol.rs b/src/symbol.rs index 4d16b7c..7a46dd5 100644 --- a/src/symbol.rs +++ b/src/symbol.rs @@ -295,6 +295,8 @@ impl SymbolGraph { #[pyclass] pub struct DefRefPair { + #[pyo3(get)] pub src_symbol: Symbol, + #[pyo3(get)] pub dst_symbol: Symbol, }