MCPcopy Index your code
hub / github.com/davidhewitt/pythonize / dataclass_access

Method dataclass_access

src/de.rs:68–74  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

66 }
67
68 fn dataclass_access(&self) -> Result<Option<PyDataclassAccess<'py>>> {
69 if let Some(dc) = DataclassCandidate::try_new(self.input) {
70 Some(PyDataclassAccess::new(dc)).transpose()
71 } else {
72 Ok(None)
73 }
74 }
75
76 fn deserialize_any_int<'de, V>(&self, int: &Bound<'_, PyInt>, visitor: V) -> Result<V::Value>
77 where

Callers 1

deserialize_mapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected