mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
Merge pull request #3555 from CyanideByte/global-ignore-warning
Globally filtering pydantic conflict warnings
This commit is contained in:
commit
63bfc12a63
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
Reference in a new issue