Skip to content

fix: add missing encoder_mode parameter to ModelConfig (closes #213) - #226

Open
botbikamordehai2-sketch wants to merge 1 commit into
dataxid:mainfrom
botbikamordehai2-sketch:fix/issue-213-1782042530
Open

fix: add missing encoder_mode parameter to ModelConfig (closes #213)#226
botbikamordehai2-sketch wants to merge 1 commit into
dataxid:mainfrom
botbikamordehai2-sketch:fix/issue-213-1782042530

Conversation

@botbikamordehai2-sketch

Copy link
Copy Markdown

What

ModelConfig.init() rejected the documented encoder_mode keyword argument, causing a TypeError for users following the API reference.

Fix

Wrapped the original ModelConfig with a subclass that accepts encoder_mode as a parameter (with default "tabular"), validates it, stores it as an attribute, and passes remaining arguments to the underlying implementation. This restores the documented API without breaking existing code that omits the parameter.

Closes #213

@botbikamordehai2-sketch
botbikamordehai2-sketch requested a review from a team as a code owner June 21, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant