ibis icon indicating copy to clipboard operation
ibis copied to clipboard

refactor: avoid exposing details like `copy` in the builder APIs

Open cpcloud opened this issue 2 years ago • 1 comments

What happened?

From @NickCrews in #6768:

Unrelated to this, but I noticed that the exposed API of the CaseBuilders is probably a little more than we want. We probably just want people to have access to .when(), .else_(), and .end(), but since CaseBuilder inherits from Concrete, users get type hint suggestions for .copy(), and the other Expr internals. But that is separate from this issue

What version of ibis are you using?

master

What backend(s) are you using, if any?

N/A

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

cpcloud avatar Aug 04 '23 09:08 cpcloud

If we move to cases then this shouldn't be an issue anymore.

cpcloud avatar Jun 25 '24 15:06 cpcloud