forked from phoenix/litellm-mirror
Globally filtering pydantic conflict warnings
This commit is contained in:
parent
43b2050cc2
commit
4a7be9163b
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue