Skip to content

core.options

Overview

Resolution of the class Vueda declaration into one normalized options object per model.

Classes

failed_sections

Return the names of sections that problems shows VUEDA could not resolve.

Signature

failed_sections(problems)

Parameters

NameTypeRequiredDescription
problemscollections.abc.Iterable[vueda.core.options.DeclarationProblem]yes

Returns

set[str]

Source

server/vueda/core/options.py:269

get_vueda_options

Return the normalized feature policy of model, resolving it if it is not resolved yet.

This is the supported way for feature integrations, metadata, schema, and migration code to read a model's policy.

Signature

get_vueda_options(model)

Parameters

NameTypeRequiredDescription
model<class 'type'>yes

Returns

<class 'vueda.core.options.VuedaOptions'>

Source

server/vueda/core/options.py:341

resolve_vueda_options

Resolve, cache, and return the normalized feature policy of model.

A proxy model shares the sections of its concrete model. History triggers attach to the shared database table and workflow resolves a proxy to its concrete model, so a separate proxy policy could not apply consistently, so declaring one is a system-check error rather than a silent no-op.

Resolution never raises. Structural faults become problems that vueda.core.checks reports, which keeps a broken declaration from turning into an import error with no context.

Signature

resolve_vueda_options(model)

Parameters

NameTypeRequiredDescription
model<class 'type'>yes

Returns

<class 'vueda.core.options.VuedaOptions'>

Source

server/vueda/core/options.py:274

Source

server/vueda/core/options.py

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2