Skip to content

Commit

Permalink
Ignore the second pydantic import for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Jul 5, 2023
1 parent 042d599 commit 66160c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
try:
from pydantic.v1 import BaseModel, validator
except ModuleNotFoundError:
from pydantic import BaseModel, validator
from pydantic import BaseModel, validator # type: ignore

Check warning on line 35 in python/lsst/ctrl/mpexec/reports.py

View check run for this annotation

Codecov / codecov/patch

python/lsst/ctrl/mpexec/reports.py#L34-L35

Added lines #L34 - L35 were not covered by tests


def _serializeDataId(dataId: DataId) -> dict[str, DataIdValue]:
Expand Down

0 comments on commit 66160c3

Please sign in to comment.