Skip to content

Commit

Permalink
Fix pydantic import (#255)
Browse files Browse the repository at this point in the history
# References and relevant issues
Closes #254 

# Description
Uses napari pydantic compatibility shim in `update_preference_docs.py`.
  • Loading branch information
melissawm authored Oct 31, 2023
1 parent 0c6a12b commit 703ca00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_scripts/update_preference_docs.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 703ca00

Please sign in to comment.