Merge pull request #3555 from CyanideByte/global-ignore-warning

Globally filtering pydantic conflict warnings
This commit is contained in:
Ishaan Jaff 2024-05-09 18:04:08 -07:00 committed by GitHub
commit 63bfc12a63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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