Skip to main content
Plugin contract: snapshot · observe · diff · restore. Source: python/alibi_sdk/alibi_sdk/plugin.py

SnapshotHandle

Attributes

empty_observe

Returns dict[str, Any]

PluginProtocol

Bases: Protocol Attributes

snapshot

Parameters Returns SnapshotHandle

observe

Parameters Returns dict[str, Any]

diff

Parameters Returns dict[str, Any]

restore

Parameters Returns None

Plugin

Base plugin. Subclasses implement real snapshot/observe/diff/restore. Attributes

snapshot

Parameters Returns SnapshotHandle

observe

Drain in-span observations for this plugin from the context buffer. Parameters Returns dict[str, Any]

diff

Parameters Returns dict[str, Any]

restore

Parameters Returns None