Skip to content

Commit 633527f

Browse files
authored
Merge pull request #181 from mindsdb/torrmal-patch-1
Update projects.py
2 parents 8a477f0 + 9896e85 commit 633527f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mindsdb_sdk/projects.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ def __init__(self, server, api, name):
8080
self.skills = Skills(self, api)
8181
self.agents = Agents(self, api)
8282

83+
self.minds = self.agents #alias
84+
8385
def __repr__(self):
8486
return f'{self.__class__.__name__}({self.name})'
8587

@@ -182,4 +184,4 @@ def drop(self, name: str):
182184
:param name: name of the project
183185
"""
184186
ast_query = DropDatabase(name=Identifier(name))
185-
self.api.sql_query(ast_query.to_string())
187+
self.api.sql_query(ast_query.to_string())

0 commit comments

Comments
 (0)