# Row

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/tui/widgets/final_markdown/_rows/Row)

One rendered line of the reply.

`parts` holds `(content, selectable)` pairs. Selectable parts carry the
selection `offset` meta, so they take the text pointer, mouse selection,
and copy; the others (indents, padding, borders) do not. A `None` flag
marks blank fill, which takes only the background of its styles.

## Signature

```python
Row(
    self,
    parts: tuple[tuple[Content, bool | None], ...] = (),
    fill: tuple[str, ...] = (),
    joiner: str | None = '\n',
    margin: bool = False,
)
```

## Constructors

```python
__init__(
    self,
    parts: tuple[tuple[Content, bool | None], ...] = (),
    fill: tuple[str, ...] = (),
    joiner: str | None = '\n',
    margin: bool = False,
) -> None
```

| Name | Type |
|------|------|
| `parts` | `tuple[tuple[Content, bool \| None], ...]` |
| `fill` | `tuple[str, ...]` |
| `joiner` | `str \| None` |
| `margin` | `bool` |


## Properties

- `parts`
- `fill`
- `joiner`
- `margin`
- `cell_length`
- `text`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/6a8d452d70f9bcb978e6bd44831dda093ecbe928/libs/code/deepagents_code/tui/widgets/final_markdown/_rows.py#L10)