We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
has_name
1 parent 76940ce commit adc2fd0Copy full SHA for adc2fd0
ibis/expr/types/core.py
@@ -17,7 +17,7 @@
17
from ibis.config import _default_backend
18
from ibis.config import options as opts
19
from ibis.expr.format import pretty
20
-from ibis.util import deprecated, experimental
+from ibis.util import experimental
21
22
if TYPE_CHECKING:
23
from collections.abc import Iterator, Mapping
@@ -169,15 +169,6 @@ def __bool__(self) -> bool:
169
170
__nonzero__ = __bool__
171
172
- @deprecated(
173
- instead="remove any usage of `has_name`, since it is always `True`",
174
- as_of="9.4",
175
- removed_in="10.0",
176
- )
177
- def has_name(self):
178
- """Check whether this expression has an explicit name."""
179
- return hasattr(self._arg, "name")
180
-
181
def get_name(self):
182
"""Return the name of this expression."""
183
return self._arg.name
0 commit comments