From bd68fe6faf460f6a35b78cbf77be303cb9588dfd Mon Sep 17 00:00:00 2001 From: Sunny Sun <38218185+sunnyosun@users.noreply.github.com> Date: Mon, 21 Oct 2024 09:25:47 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lamindb/_can_validate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lamindb/_can_validate.py b/lamindb/_can_validate.py index 35f29e133..23c309776 100644 --- a/lamindb/_can_validate.py +++ b/lamindb/_can_validate.py @@ -5,12 +5,13 @@ import lamindb_setup as ln_setup import numpy as np import pandas as pd -from django.core.exceptions import FieldDoesNotExist, ValidationError +from django.core.exceptions import FieldDoesNotExist from lamin_utils import colors, logger from lamindb_setup.core._docs import doc_args from lnschema_core import CanValidate, Record from lamindb._utils import attach_func_to_class_method +from lamindb.core.exceptions import ValidationError from ._from_values import _has_organism_field, _print_values, get_or_create_records from ._record import _queryset, get_name_field