generate_device_configuration_editor
- caqtus.gui.autogen.generate_device_configuration_editor(
- config_type: type[C],
- generator: EditorBuilder = _builder,
- **overrides: AttributeOverride,
Generate a device configuration editor for the given configuration type.
For more documentation, see
build_attrs_class_editor().- Parameters:
config_type – The type of configuration to construct the editor for. Must be an attrs class.
generator – Used to generate editors for the fields of the configuration.
- Returns:
An automatically generated class of type
DeviceConfigurationEditorthat can be used to edit configurations with type config_type.