From 05cd778f7b2713ff56ad32a2934b9a6b03ac6e8d Mon Sep 17 00:00:00 2001 From: mart-r Date: Thu, 19 Jun 2025 17:10:50 +0100 Subject: [PATCH] CU-8699g5q3e: Avoid saving usage monitor. It takes up quite a bit of space on disk since it'd save other bits as part of its config --- medcat/cat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/medcat/cat.py b/medcat/cat.py index 753b653..2f0ec6a 100644 --- a/medcat/cat.py +++ b/medcat/cat.py @@ -80,6 +80,7 @@ def ignore_attrs(cls) -> list[str]: '_trainer', # recreate if nededed '_pipeline', # need to recreate regardless 'config', # will be loaded along with CDB + 'usage_monitor', # will be created at startup ] def __call__(self, text: str) -> Optional[MutableDocument]: