FakeFrame Class

Fake frame object that implements enough to make traceback logging work.

Create a new FakeFrame.

Inheritance
builtins.object
FakeFrame

Constructor

FakeFrame(frame: frame)

Parameters

Name Description
frame
Required

Methods

deserialize

Deserialize this object from a dict.

serialize

Serialize this object to a dict.

deserialize

Deserialize this object from a dict.

deserialize(d: Dict[str, Any] | None) -> FakeFrame | None

Parameters

Name Description
d
Required

serialize

Serialize this object to a dict.

serialize() -> Dict[str, Any]