Skip to content

Build Plugin

To register a build plugin, register the pydjinni.builder entry-point in the plugins pyproject.toml:

[project.entry-points.'pydjinni.builder']
foo = 'myplugin.foo:FooTarget'

Pydjinni will now automatically load the plugin, once it is installed.

Target

Bases: ABC

config_model abstractmethod property

The Pydantic model that defines the configuration options for the builder.

The model will automatically be registered in the system and is then available in the documentation and as part of the JSON-Schema for the configuration file.

key abstractmethod property

The name of the builder. Will be used as configuration key.

BuildException

Bases: ApplicationException

Build step failed