peal.editors.interfaces.EditorConfig

class peal.editors.interfaces.EditorConfig[source]

Bases: BaseModel

Pydantic base config of an editor.

Parameters:
  • editor_type (str) – Name of the concrete editor class (e.g. "DDPMInversion"); the yaml loader uses it to pick the concrete config subclass.

  • category (str) – Config family marker, always "editor" for editors.

Methods

Attributes

editor_type: str
category: str = 'editor'