We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ad61311 + 3df0fc3 commit 029eea0Copy full SHA for 029eea0
mindsdb_sdk/utils/mind.py
@@ -1,3 +1,4 @@
1
+import warnings
2
from pydantic import BaseModel, Field
3
from typing import List, Optional
4
from uuid import uuid4
@@ -92,6 +93,12 @@ def create_mind(
92
93
Returns:
94
Mind: Mind entity
95
"""
96
+ warnings.simplefilter('always', DeprecationWarning) # turn off filter
97
+ warnings.warn(
98
+ 'Minds in python SDK are deprecated. Use minds SDK instead (`pip install minds-sdk`)',
99
+ category=DeprecationWarning
100
+ )
101
+ warnings.simplefilter('default', DeprecationWarning)
102
103
url = f"{base_url.rstrip('/')}/minds"
104
headers = {"Authorization": f"Bearer {api_key}"}
0 commit comments