MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / exec

Method exec

flow-rs/src/loader/python/node.rs:101–111  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

99 }
100
101 async fn exec(&mut self) {
102 stackful(|| {
103 Python::with_gil(|py| {
104 if let Err(err) = self.imp.call_method0(py, "exec") {
105 err.print(py);
106 panic!("python node {} exec fault!", self.name);
107 }
108 })
109 })
110 .await;
111 }
112
113 async fn start_loop(&mut self, res: ResourceCollection) {
114 self.initialize(res).await;

Callers 1

start_loopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected