diff --git a/kibot/out_bom.py b/kibot/out_bom.py index e5798fff..e30c66cb 100644 --- a/kibot/out_bom.py +++ b/kibot/out_bom.py @@ -19,6 +19,7 @@ from .bom.bom import do_bom from .var_kibom import KiBoM from .fil_base import BaseFilter, apply_exclude_filter, apply_fitted_filter, apply_fixed_filter, reset_filters from . import log +from .mcpyrate.debug import macros, step_expansion logger = log.get_logger(__name__) VALID_STYLES = {'modern-blue', 'modern-green', 'modern-red', 'classic'} @@ -36,13 +37,14 @@ class BoMColumns(Optionable): def __init__(self): super().__init__() self._unkown_is_error = True - with document: - self.field = '' - """ Name of the field to use for this column """ - self.name = '' - """ Name to display in the header. The field is used when empty """ - self.join = Optionable - """ [list(string)|string=''] List of fields to join to this column """ + with step_expansion: + with document: + self.field = '' + """ Name of the field to use for this column """ + self.name = '' + """ Name to display in the header. The field is used when empty """ + self.join = Optionable + """ [list(string)|string=''] List of fields to join to this column """ def config(self): super().config()