SectionOptions
Overview
Resolved values for one feature section, readable as attributes or as a mapping.
repr {#repr}
Return repr(self).
Signature {#repr-signature}
__repr__(self)
Parameters {#repr-parameters}
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes |
Returns {#repr-returns}
<class 'str'>
Source {#repr-source}
server/vueda/core/options.py:85
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(self, name)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes | ||
| name | <class 'str'> | yes |
Returns
<class 'bool'>
Source
server/vueda/core/options.py:62
migration_values
Return only the options the owning feature marked as migration relevant.
Signature
migration_values(self)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes |
Returns
dict[str, typing.Any]
Source
server/vueda/core/options.py:88
dict {#dict}
dictionary for instance variables
weakref {#weakref}
list of weak references to the object
_abc_impl
_declared
_values
name
Source
server/vueda/core/options.py:58
section
Source
server/vueda/core/options.py:50