# helia_aot.optimization.schema.KnobSource

## helia_aot.optimization.schema.KnobSource

`class` · `python`

```python
KnobSource()
```

Who asked for a knob's value; ``rule`` is set exactly when ``kind`` is ``operator``.

Source: `helia_aot/optimization/schema.py:217`

### helia_aot.optimization.schema.KnobSource.model_config

`attribute` · `python`

```python
model_config = ConfigDict(json_schema_extra=_closed(_rule_exactly_for_operator))
```

Source: `helia_aot/optimization/schema.py:220`

### helia_aot.optimization.schema.KnobSource.kind

`attribute` · `python`

```python
kind: Annotated[str, _Members(*_SOURCE_KINDS)] = Field(..., description='An operators[] rule, the model-wide optimization section, or neither; plan (an input plan) is reserved')
```

Source: `helia_aot/optimization/schema.py:222`

### helia_aot.optimization.schema.KnobSource.rule

`attribute` · `python`

```python
rule: RuleRef | None = Field(None, description='The operators[] rule, when kind is operator')
```

Source: `helia_aot/optimization/schema.py:228`
