---
url: "https://vueda.dev/v3/reference/api/py/vueda.core.options/VuedaOptions.md"
title: "VuedaOptions"
---

# VuedaOptions

## Overview

The normalized feature policy of one model.

Feature integrations read this instead of the author-written nested classes. Every registered
section is present, whether or not the model declared it, so a feature always sees its defaults.

## `__init__` {#--init--}

### Signature {#--init---signature}

`__init__(model, sections, problems)`

#### Parameters {#--init---parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="--init---param-model">model</span> | `type` | yes |  |  |
| <span id="--init---param-sections">sections</span> | `collections.abc.Mapping[str, vueda.core.options.SectionOptions]` | yes |  |  |
| <span id="--init---param-problems">problems</span> | `list[vueda.core.options.DeclarationProblem] \| None` | no | `None` |  |

### Source {#--init---source}

`server/vueda/core/options.py:100`

## `get` {#get}

Return the resolved options for section ``name``, or ``default`` when it is unregistered.

### Signature {#get-signature}

`get(self, name, default)`

#### Parameters {#get-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| self |  | yes |  |  |
| <span id="get-param-name">name</span> | `str` | yes |  |  |
| <span id="get-param-default">default</span> | `typing.Any` | no | `None` |  |

#### Returns {#get-returns}

`typing.Any`

### Source {#get-source}

`server/vueda/core/options.py:122`

## `is_enabled` {#is_enabled}

Return whether section ``name`` is registered and this model participates in it.

### Signature {#is_enabled-signature}

`is_enabled(self, name)`

#### Parameters {#is_enabled-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| self |  | yes |  |  |
| <span id="is_enabled-param-name">name</span> | `str` | yes |  |  |

#### Returns {#is_enabled-returns}

`bool`

### Source {#is_enabled-source}

`server/vueda/core/options.py:126`

## `model` {#model}

## `problems` {#problems}

## Source

`server/vueda/core/options.py:93`
