Skip to content

Commit

Permalink
Merge pull request #181 from mindsdb/torrmal-patch-1
Browse files Browse the repository at this point in the history
Update projects.py
  • Loading branch information
ea-rus authored Dec 27, 2024
2 parents 8a477f0 + 9896e85 commit 633527f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mindsdb_sdk/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def __init__(self, server, api, name):
self.skills = Skills(self, api)
self.agents = Agents(self, api)

self.minds = self.agents #alias

def __repr__(self):
return f'{self.__class__.__name__}({self.name})'

Expand Down Expand Up @@ -182,4 +184,4 @@ def drop(self, name: str):
:param name: name of the project
"""
ast_query = DropDatabase(name=Identifier(name))
self.api.sql_query(ast_query.to_string())
self.api.sql_query(ast_query.to_string())

0 comments on commit 633527f

Please sign in to comment.