Share via


val_block Module

Classes

ValBlock

Create a value block.

A value block is used to represent a value in a template. It can be used to represent any characters. It needs to start and end with the same quote character, can be both single or double quotes, as long as they are not mixed.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.