diff --git a/medcat-trainer/webapp/api/api/views.py b/medcat-trainer/webapp/api/api/views.py index b2e5215ae..2d1c37b4f 100644 --- a/medcat-trainer/webapp/api/api/views.py +++ b/medcat-trainer/webapp/api/api/views.py @@ -1,3 +1,4 @@ +import logging import os import traceback from smtplib import SMTPException @@ -11,11 +12,12 @@ from django.shortcuts import render from django.utils import timezone from django_filters import rest_framework as drf -from medcat.utils.cdb_utils import ch2pt_from_pt2ch, get_all_ch, snomed_ct_concept_path + from rest_framework import viewsets from rest_framework.decorators import api_view from rest_framework.response import Response from medcat.components.ner.trf.deid import DeIdModel +from medcat.utils.cdb_utils import ch2pt_from_pt2ch, get_all_ch, snomed_ct_concept_path from .admin import download_projects_with_text, download_projects_without_text, \ import_concepts_from_cdb diff --git a/medcat-trainer/webapp/requirements.txt b/medcat-trainer/webapp/requirements.txt index c0226302a..f2bbf1f4f 100644 --- a/medcat-trainer/webapp/requirements.txt +++ b/medcat-trainer/webapp/requirements.txt @@ -6,7 +6,7 @@ django-polymorphic==3.0.* djangorestframework==3.15.* django-background-tasks-updated==1.2.* openpyxl==3.1.2 -medcat[meta-cat,spacy,rel-cat,deid]==2.2.* +medcat[meta-cat,spacy,rel-cat,deid]==2.3.* psycopg[binary,pool]==3.2.9 cryptography==45.0.* drf-oidc-auth==3.0.0