chore: ignore warnings (#44)
This commit is contained in:
parent
8e1ab38b50
commit
7efdc669ac
|
@ -1,5 +1,19 @@
|
|||
__version__ = '0.0.12'
|
||||
def _ignore_warnings():
|
||||
import logging
|
||||
import warnings
|
||||
|
||||
from vectordb.db.inmemory_exact_vectordb import InMemoryExactNNVectorDB
|
||||
logging.captureWarnings(True)
|
||||
warnings.filterwarnings(
|
||||
"ignore",
|
||||
category=DeprecationWarning,
|
||||
message="Deprecated call to `pkg_resources.declare_namespace('google')`.",
|
||||
)
|
||||
|
||||
|
||||
_ignore_warnings()
|
||||
|
||||
__version__ = "0.0.12"
|
||||
|
||||
from vectordb.client import Client
|
||||
from vectordb.db.hnsw_vectordb import HNSWVectorDB
|
||||
from vectordb.client import Client
|
||||
from vectordb.db.inmemory_exact_vectordb import InMemoryExactNNVectorDB
|
||||
|
|
Loading…
Reference in New Issue