From 032e9db5f9d53a2e463bb9cfbe0058bc1321ce42 Mon Sep 17 00:00:00 2001 From: Shayne Fletcher Date: Tue, 16 Dec 2025 13:15:26 -0800 Subject: [PATCH] : channel: remove #[pymodule], its wrong Summary: `#[pymodule]` in channel.rs is wrong. monarch_hyperactor is a rust library. monarch_extension is a rust python extension that calls the code in monarch_hyperactor. monarch_extension is where the`#[pymodule]` is. Differential Revision: D89314522 --- monarch_hyperactor/src/channel.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/monarch_hyperactor/src/channel.rs b/monarch_hyperactor/src/channel.rs index e3bdebdfe..ec31625d8 100644 --- a/monarch_hyperactor/src/channel.rs +++ b/monarch_hyperactor/src/channel.rs @@ -146,7 +146,6 @@ impl From for ChannelTransport { } } -#[pymodule] pub fn register_python_bindings(hyperactor_mod: &Bound<'_, PyModule>) -> PyResult<()> { hyperactor_mod.add_class::()?; hyperactor_mod.add_class::()?;