Skip to content

feature(medcat): Allow filtering addons upon model load#554

Merged
mart-r merged 9 commits into
mainfrom
feature/medcat/filter-addons-upoon-load
Jun 22, 2026
Merged

feature(medcat): Allow filtering addons upon model load#554
mart-r merged 9 commits into
mainfrom
feature/medcat/filter-addons-upoon-load

Conversation

@mart-r

@mart-r mart-r commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

This is in response to #542 .

The target for this method (CAT.load_addons) is trainer and it's (currently) only loading MetaCAT addons.

So I've amended the method such that it is able to only load specfic addons if/when required.

PS:
There's a side effect of this where the addon type is now a class level attribute rather than an instance level one. But effectively that should be the case anyway.

NOTE:
The trainer changes themselves can't be included before the core lib changes are merged in and published because trainer runs against the latest (pinned) releases and not the current state of the core library.

Comment thread medcat-v2/medcat/components/addons/addons.py Outdated
@mart-r mart-r changed the title feature(medcat): Allow filtering addons upoon model load feature(medcat): Allow filtering addons upon model load Jun 22, 2026
@mart-r mart-r merged commit 9003bc2 into main Jun 22, 2026
20 checks passed
@mart-r mart-r deleted the feature/medcat/filter-addons-upoon-load branch June 22, 2026 10:18
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