diff --git a/docs/_scripts/update_preference_docs.py b/docs/_scripts/update_preference_docs.py index 865a3ca1a..086302320 100644 --- a/docs/_scripts/update_preference_docs.py +++ b/docs/_scripts/update_preference_docs.py @@ -1,7 +1,7 @@ from pathlib import Path from jinja2 import Template -from pydantic.main import ModelMetaclass +from napari._pydantic_compat import ModelMetaclass from qtpy.QtCore import QTimer from qtpy.QtWidgets import QMessageBox