Skip to content

Commit

Permalink
docs: update docstring for into_view method to clarify usage as ViewT…
Browse files Browse the repository at this point in the history
…able
  • Loading branch information
kosiew committed Feb 7, 2025
1 parent 4b4c641 commit 12c4fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/datafusion/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def __init__(self, df: DataFrameInternal) -> None:
self.df = df

def into_view(self) -> pa.Table:
"""Register this DataFrame as a view in the current session."""
"""Register this DataFrame as a ViewTable which can be used in register_table"""

Check failure on line 125 in python/datafusion/dataframe.py

View workflow job for this annotation

GitHub Actions / build

Ruff (D415)

python/datafusion/dataframe.py:125:9: D415 First line should end with a period, question mark, or exclamation point
return self.df.into_view()

def __getitem__(self, key: str | List[str]) -> DataFrame:
Expand Down

0 comments on commit 12c4fe3

Please sign in to comment.