Skip to content

Commit 7337656

Browse files
authored
feature(medcat): CU-869c7cxh7 Add shorthand import for deid (#346)
* feature(medcat): CU-869c7cxh7 Add shorthand import for deid This PR adds a shorthand import for DeID. So instead of: You can now use * CU-869c7cxh7: Fix import address * CU-869c7cxh7: Fix typo
1 parent e9b4ab8 commit 7337656

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

medcat-v2/medcat/deid/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from medcat.utils.import_utils import (
2+
ensure_optional_extras_installed as __ensure_deid)
3+
4+
__ensure_deid("medcat", "deid")
5+
6+
from medcat.components.ner.trf.deid import DeIdModel # noqa
7+
8+
__all__ = ["DeIdModel"]

0 commit comments

Comments
 (0)