Skip to content

Commit

Permalink
Merge pull request #342 from mindsdb/staging
Browse files Browse the repository at this point in the history
Release 0.10.2
  • Loading branch information
ea-rus authored Jan 18, 2024
2 parents 3b3c64f + 985751f commit 459c9d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mindsdb_sql/__about__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__title__ = 'mindsdb_sql'
__package_name__ = 'mindsdb_sql'
__version__ = '0.10.1'
__version__ = '0.10.2'
__description__ = "Pure python SQL parser"
__email__ = "[email protected]"
__author__ = 'MindsDB Inc'
Expand Down
3 changes: 2 additions & 1 deletion mindsdb_sql/parser/ast/select/native_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ def to_tree(self, *args, level=0, **kwargs):
f'NativeQuery(integration={self.integration.to_string()}, query="{self.query}")'

def get_string(self, *args, **kwargs):
return f'({self.query})'
# standard native query render is used in create view
return f'{self.integration.to_string()} ({self.query})'

def __repr__(self):
return f'{self.__class__.__name__}:{self.integration.to_string()} ({self.query})'

0 comments on commit 459c9d2

Please sign in to comment.