Skip to content

Commit

Permalink
docs: improve Table.columns docstring
Browse files Browse the repository at this point in the history
Before it could be interpreted that this
returned Column objects. But it just returns
string names of the columns.

Per review comment, I'm not putting in the full
`list[str]` type annotation because it should get
rendered in quartodoc, it just isn't.
  • Loading branch information
NickCrews authored and cpcloud committed Oct 4, 2023
1 parent cd7be29 commit d50558b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/expr/types/relations.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ def _ensure_expr(self, expr):

@property
def columns(self) -> list[str]:
"""The list of columns in this table.
"""The list of column names in this table.
Examples
--------
Expand Down

0 comments on commit d50558b

Please # to comment.