KeepOriginals.for_mode(StepDummy.mode), KeepOriginals.for_mode(Mode.ROW_OP)(<KeepOriginals.CONFIGURABLE: 'configurable'>, <KeepOriginals.KEEP: 'keep'>)
Whether a step’s keep_original_cols is fixed or up to the caller.
Usage
A step does not declare this: it follows from Mode, via KeepOriginals.for_mode. A step that turns its input columns into derived ones (ONE_TO_MANY, MANY_TO_MANY) is CONFIGURABLE, because keeping the sources beside the derived columns is a legitimate thing to want; every other mode has only one sensible answer, so Step.__init__ fixes the value and keep_original_cols cannot be set to anything else. The attribute is a read-only property on every step, configurable or not: its value is settled when the step is constructed.