> ## Documentation Index
> Fetch the complete documentation index at: https://tracevell.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Python Types

## Datapoint

Pydantic model for evaluation and dataset datapoints.

```python theme={null}
Datapoint(
    data: dict,
    target: dict = {},
    metadata: dict = {},
    id: UUID | None = None,
    created_at: datetime | None = None,
)
```

***

## LaminarDataset

```python theme={null}
LaminarDataset(
    name: str | None = None,
    id: UUID | None = None,
    fetch_size: int = 25,
)
```

***

## MaskInputOptions

TypedDict used for browser session recording input masking.

```python theme={null}
MaskInputOptions = TypedDict(
    "MaskInputOptions",
    {
        "textarea": bool | None,
        "text": bool | None,
        "number": bool | None,
        "select": bool | None,
        "email": bool | None,
        "tel": bool | None,
    },
)
```

***

## SessionRecordingOptions

```python theme={null}
SessionRecordingOptions = TypedDict(
    "SessionRecordingOptions",
    {
        "mask_input_options": MaskInputOptions | None,
    },
)
```

***

## SessionBlock

One block in a [debugger](https://tracevell.com/docs/debugger/introduction.md) session, as returned by `client.rollout_sessions.list_blocks(...)`.

```python theme={null}
SessionBlockType = Literal["trace", "evaluation", "text"]

class TraceBlockContent(TypedDict, total=False):
    traceId: str
    note: Optional[str]

class EvaluationBlockContent(TypedDict, total=False):
    evaluationId: str
    note: Optional[str]

class TextBlockContent(TypedDict):
    text: str

SessionBlockContent = Union[TraceBlockContent, EvaluationBlockContent, TextBlockContent]

class SessionBlock(TypedDict):
    id: str
    createdAt: str  # ISO-8601
    type: str  # one of SessionBlockType for known blocks
    content: dict[str, Any]  # narrow with the *BlockContent shapes
```

***

## DebugContext

Debugger coordinates carried on a `LaminarSpanContext` so a downstream service joins the same debug session and replay window.

```python theme={null}
class DebugContext(BaseModel):
    enabled: bool = False
    session_id: str | None = None
    replay_trace_id: str | None = None
    cache_until: str | None = None
```

***

## Version Helpers

```python theme={null}
get_latest_pypi_version() -> str
is_latest_version() -> bool
```

* `get_latest_pypi_version()` returns `__version__` on failure.
* `is_latest_version()` returns `True` on failure.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.