Skip to content

Commit

Permalink
filter pydantic warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
0thernet committed Jun 13, 2024
1 parent e8a2d23 commit 359a804
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions substrate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
20240612.20240612
"""

import warnings

import pydantic

if pydantic.VERSION.startswith("2"):
warnings.filterwarnings("ignore", category=pydantic.warnings.PydanticDeprecatedSince20)

from .nodes import (
CLIP,
JinaV2,
Expand Down

0 comments on commit 359a804

Please sign in to comment.