Skip to content

Commit

Permalink
Fix get_table_names connection method
Browse files Browse the repository at this point in the history
  • Loading branch information
vgvoleg committed Nov 2, 2024
1 parent 754cab0 commit 53be57d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ydb_dbapi/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def callee() -> ydb.Directory:
if child.is_table():
result.append(child_abs_path)
elif child.is_directory() and not child.name.startswith("."):
result.extend(self.get_table_names(child_abs_path))
result.extend(self._get_table_names(child_abs_path))
return result


Expand Down Expand Up @@ -392,7 +392,7 @@ async def callee() -> ydb.Directory:
if child.is_table():
result.append(child_abs_path)
elif child.is_directory() and not child.name.startswith("."):
result.extend(await self.get_table_names(child_abs_path))
result.extend(await self._get_table_names(child_abs_path))
return result


Expand Down

0 comments on commit 53be57d

Please sign in to comment.