Skip to content

Commit 06202ae

Browse files
committed
don't check table name in list of database tables
#82
1 parent 9d0b22e commit 06202ae

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mindsdb_sdk/tables.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,6 @@ def get(self, name: str) -> Table:
236236
:return: Table object
237237
"""
238238

239-
if name not in self._list_tables():
240-
if '.' not in name:
241-
# fixme: schemas not visible in 'show tables'
242-
raise AttributeError("Table doesn't exist")
243239
return Table(self.database, name)
244240

245241
def create(self, name: str, query: Union[pd.DataFrame, Query], replace: bool = False) -> Table:

0 commit comments

Comments
 (0)