Skip to main content

snapshot

Method
This is a method of the ShutdownForensicsProtocol class in the protocols module.
Return a small, JSON-serialisable forensic context. Must never raise; on any internal failure it returns a best-effort (possibly partial) dict so the caller can still log something.

Signature

Parameters

Optional[str]
No description available.

Returns

Dict[str, Any]
The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 4135