# EnumOutputParser

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/output_parsers/enum/EnumOutputParser)

Parse an output that is one of a set of values.

## Signature

```python
EnumOutputParser()
```

## Extends

- `BaseOutputParser[Enum]`

## Properties

- `enum`
- `OutputType`

## Methods

- [`parse()`](https://reference.langchain.com/python/langchain-classic/output_parsers/enum/EnumOutputParser/parse)
- [`get_format_instructions()`](https://reference.langchain.com/python/langchain-classic/output_parsers/enum/EnumOutputParser/get_format_instructions)

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/9f232caa7a8fe1ca042a401942d5d90d54ceb1a6/libs/langchain/langchain_classic/output_parsers/enum.py#L9)