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

# Objects.answers

## Answer Objects

```python theme={"dark"}
class Answer(ABC, Generic[ValueType, AttributeType])
```

An internal helper class for the LabelRowV2 class. This class is not meant to be used directly by users.

#### unset

```python theme={"dark"}
def unset() -> None
```

Remove the value from the answer

#### to\_encord\_dict

```python theme={"dark"}
def to_encord_dict(
    ranges: Optional[Ranges] = None,
    space_id: Optional[str] = None
) -> Optional[AttributeDict | DynamicAttributeObject]
```

A low level helper to convert to the Encord JSON format.
For most use cases the `get_answer` function should be used instead.

## TextAnswer Objects

```python theme={"dark"}
class TextAnswer(Answer[str, TextAttribute])
```

#### set

```python theme={"dark"}
def set(value: str,
        manual_annotation: bool = DEFAULT_MANUAL_ANNOTATION) -> None
```

Returns the object itself

## ChecklistAnswer Objects

```python theme={"dark"}
@dataclass
class ChecklistAnswer(Answer[List[FlatOption], ChecklistAttribute])
```

Checkboxes behave slightly different from the other answer types. When the checkbox is unanswered, it will be
the equivalent of not having selected any checkbox answer in the Encord platform.
The initial state will be every checkbox unchecked.
