We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3487ef3 commit 2472853Copy full SHA for 2472853
1 file changed
python/datafusion/table_provider.py
@@ -88,7 +88,7 @@ def __getattr__(self, name: str) -> Any:
88
89
def __dir__(self) -> list[str]:
90
"""Expose delegated attributes via :func:`dir`."""
91
- return dir(self._table_provider) + super().__dir__()
+ return sorted(set(super().__dir__()) | set(dir(self._table_provider)))
92
93
def __repr__(self) -> str: # pragma: no cover - simple delegation
94
"""Return a representation of the wrapped provider."""
0 commit comments