item

The model item decorator.

Functions

Summary

model_item

The @model_item decorator adds the given properties to the class.

model_item_typed

The model_item_typed decorator adds attributes to the class to enable the glotaran model parser to infer the correct class for an item when there are multiple variants.

model_item_validator

The model_item_validator marks a method of a model item as validation function