Module

analysis.advice_context

Immutable, framework-neutral context facts for opt-in shape advice.

Classes

AdviceContext 3
Adapter-supplied scalar facts scoped to one exact profiled span.

Adapter-supplied scalar facts scoped to one exact profiled span.

Attributes

Name Type Description
span SourceSpan
facts tuple[tuple[str, AdviceFactValue], ...]

Methods

Internal Methods 1
__post_init__ 0
def __post_init__(self) -> None