MCPcopy
hub / github.com/pytest-dev/pytest / _from_json

Method _from_json

src/_pytest/subtests.py:75–76  ·  view source on GitHub ↗
(cls, d: dict[str, Any])

Source from the content-addressed store, hash-verified

73
74 @classmethod
75 def _from_json(cls, d: dict[str, Any]) -> Self:
76 return cls(msg=d["msg"], kwargs=d["kwargs"])
77
78
79@dataclasses.dataclass(init=False)

Callers

nothing calls this directly

Calls 1

clsFunction · 0.85

Tested by

no test coverage detected