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

# SectionOptions

## Overview

Resolved values for one feature section, readable as attributes or as a mapping.

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

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

`__init__(section, values, declared)`

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

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="--init---param-section">section</span> | `vueda.core.features.FeatureSection` | yes |  |  |
| <span id="--init---param-values">values</span> | `collections.abc.Mapping[str, typing.Any]` | yes |  |  |
| <span id="--init---param-declared">declared</span> | `collections.abc.Iterable[str]` | no | `()` |  |

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

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

## `is_declared` {#is_declared}

Return whether an author wrote ``name`` on this model or one of its bases.

A feature that must tell an explicit choice from its own default reads this. Everything else
should read the value, which already accounts for defaults and inheritance.

### Signature {#is_declared-signature}

`is_declared(self, name)`

#### Parameters {#is_declared-parameters}

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

#### Returns {#is_declared-returns}

`bool`

### Source {#is_declared-source}

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

## `migration_values` {#migration_values}

Return only the options the owning feature marked as migration relevant.

### Signature {#migration_values-signature}

`migration_values(self)`

#### Parameters {#migration_values-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| self |  | yes |  |  |

#### Returns {#migration_values-returns}

`dict[str, typing.Any]`

### Source {#migration_values-source}

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

## `name` {#name}

### Source {#name-source}

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

## `section` {#section}

## Source

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