StepObserver
Note
This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- class StepObserver(*args, **kwargs)[source]
Bases:
ProtocolOptional sink for
StepRecordevents.Implementations must treat
wantsas a pure filter: when it returnsFalse, pipelines skip calling the observer for that step so unused records cost nothing beyond the existing intermediate objects.- __call__(record: StepRecord) None[source]
Receive one step record.
- __init__(*args, **kwargs)