TraceTransform Class

Abstract base class for trace transformations.

Constructor

TraceTransform()

Methods

q

Create a trace query for this transform type.

transform

Apply this transformation to a trace.

q

Create a trace query for this transform type.

q(**kwargs) -> TraceQuery

Parameters

Name Description
**kwargs
Required

Domain overrides for parameter enumeration.

Returns

Type Description

A trace query wrapping this transform type.

transform

Apply this transformation to a trace.

abstract transform(trace: Trace) -> Trace | None

Parameters

Name Description
trace
Required

The input trace.

Returns

Type Description

The transformed trace, or None if the transformation is not applicable.