Globally filtering pydantic conflict warnings

This commit is contained in:
CyanideByte 2024-05-09 17:42:19 -07:00
parent 43b2050cc2
commit 4a7be9163b

View file

@ -1,3 +1,6 @@
### Hide pydantic namespace conflict warnings globally ###
import warnings
warnings.filterwarnings("ignore", message=".*conflict with protected namespace.*")
### INIT VARIABLES ### ### INIT VARIABLES ###
import threading, requests, os import threading, requests, os
from typing import Callable, List, Optional, Dict, Union, Any, Literal from typing import Callable, List, Optional, Dict, Union, Any, Literal