Share via


function_id_block Module

Classes

FunctionIdBlock

Block to represent a function id. It can be used to call a function from a plugin.

The content is parsed using a regex, that returns either a plugin and function name or just a function name, depending on the content.

Anything other than that and a ValueError is raised.

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.