Skip to content

Flatten nested lists in with_feature_transformers - #97

Merged
opcode81 merged 1 commit into
oraios:developfrom
mdbenito:fix/flatten-args
Apr 19, 2026
Merged

Flatten nested lists in with_feature_transformers#97
opcode81 merged 1 commit into
oraios:developfrom
mdbenito:fix/flatten-args

Conversation

@mdbenito

Copy link
Copy Markdown
Contributor

The signature of VectorModel.with_feature_transformers() allows for nested lists of transformers (one level), but lists are not handled, since items are simply append()ed to the TransformerChain. This PR flattens the arg list as is done elsewhere, for consistency with the signature's type hint.

@opcode81

Copy link
Copy Markdown
Collaborator

Thanks!

@opcode81
opcode81 merged commit ab55024 into oraios:develop Apr 19, 2026
3 checks passed
@mdbenito
mdbenito deleted the fix/flatten-args branch April 19, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants