# 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/2069079e09546060f5b52b2cd4f0e3c813e820f3/libs/code/deepagents_code/doctor.py#L33)