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

Method into_object

flow-rs/src/loader/python/channel.rs:75–78  ·  view source on GitHub ↗
(self, py: Python)

Source from the content-addressed store, hash-verified

73
74impl Owned2PyObject for std::sync::Arc<Sender> {
75 fn into_object(self, py: Python) -> PyResult<PyObject> {
76 let sender = PySender { imp: self };
77 Ok(PyCell::new(py, sender)?.to_object(py))
78 }
79}
80
81impl Owned2PyObject for std::sync::Arc<Receiver> {

Callers 4

newMethod · 0.80
to_listMethod · 0.80
to_objectMethod · 0.80
to_dictMethod · 0.80

Calls 1

to_objectMethod · 0.80

Tested by

no test coverage detected