MCPcopy
hub / github.com/MAA1999/M9A / from_dict

Method from_dict

agent/utils/pienv.py:94–97  ·  view source on GitHub ↗
(cls, data: Any)

Source from the content-addressed store, hash-verified

92
93 @classmethod
94 def from_dict(cls, data: Any) -> "PlayCoverConfig | None":
95 if not isinstance(data, dict):
96 return None
97 return cls(uuid=_as_string(data.get("uuid")))
98
99
100@dataclass(frozen=True)

Callers

nothing calls this directly

Calls 1

_as_stringFunction · 0.85

Tested by

no test coverage detected