Globally filtering pydantic conflict warnings
This commit is contained in:
parent
43b2050cc2
commit
4a7be9163b
@ -1,3 +1,6 @@
|
||||
### Hide pydantic namespace conflict warnings globally ###
|
||||
import warnings
|
||||
warnings.filterwarnings("ignore", message=".*conflict with protected namespace.*")
|
||||
### INIT VARIABLES ###
|
||||
import threading, requests, os
|
||||
from typing import Callable, List, Optional, Dict, Union, Any, Literal
|
||||
|
||||
Loading…
Reference in New Issue
Block a user