# DiagnosticItem

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/doctor/DiagnosticItem)

A single labeled diagnostic fact.

`ok` is `False` only for genuine problems (e.g. a missing dependency), not
for informational states such as an available update.

## Signature

```python
DiagnosticItem(
    self,
    label: str,
    value: str,
    ok: bool = True,
)
```

## Constructors

```python
__init__(
    self,
    label: str,
    value: str,
    ok: bool = True,
) -> None
```

| Name | Type |
|------|------|
| `label` | `str` |
| `value` | `str` |
| `ok` | `bool` |


## Properties

- `label`
- `value`
- `ok`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e14e0adcbe78565ed3650e7f24b2a775d5437d25/libs/code/deepagents_code/doctor.py#L32)