diff --git a/ydb_dbapi/connections.py b/ydb_dbapi/connections.py index c9bf773..faf1be4 100644 --- a/ydb_dbapi/connections.py +++ b/ydb_dbapi/connections.py @@ -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 @@ -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