Skip to content

Commit

Permalink
fix: ignore mypy for specific file to circumvent Pydantic not support…
Browse files Browse the repository at this point in the history
…ing __replace__ yet

See: pydantic/pydantic#10699
  • Loading branch information
DonDebonair committed Nov 22, 2024
1 parent ff6c6f3 commit 02cc41f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions machine/models/interactive.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# mypy: ignore-errors
# MyPy is disabled because Pydantic doesn't support __replace__ that was introduced in Python 3.13 yet, which causes
# MyPy to throw an error. This will be fixed once Pydantic supports __replace__ in v2.10

from __future__ import annotations

from datetime import date, time
Expand Down

0 comments on commit 02cc41f

Please sign in to comment.