Skip to content

Commit

Permalink
patch: Fix incosistent between tying and comments in 'from_native' wh…
Browse files Browse the repository at this point in the history
…en 'strict=True' (#865)
  • Loading branch information
luke396 authored Aug 25, 2024
1 parent 8eeec6b commit 74f3184
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions narwhals/stable/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,8 @@ def from_native(
allow_series: None = ...,
) -> DataFrame[IntoDataFrameT]:
"""
from_native(df, strict=True, eager_or_interchange_only=True, allow_series=True)
from_native(df, eager_or_interchange_only=True, allow_series=True)
from_native(df, strict=True, eager_or_interchange_only=True)
from_native(df, eager_or_interchange_only=True)
"""


Expand All @@ -619,8 +619,8 @@ def from_native(
allow_series: None = ...,
) -> DataFrame[IntoDataFrameT]:
"""
from_native(df, strict=True, eager_only=True, allow_series=True)
from_native(df, eager_only=True, allow_series=True)
from_native(df, strict=True, eager_only=True)
from_native(df, eager_only=True)
"""


Expand All @@ -635,8 +635,8 @@ def from_native(
allow_series: Literal[True],
) -> DataFrame[Any] | LazyFrame[Any] | Series:
"""
from_native(df, strict=True, eager_only=True)
from_native(df, eager_only=True)
from_native(df, strict=True, allow_series=True)
from_native(df, allow_series=True)
"""


Expand Down

0 comments on commit 74f3184

Please sign in to comment.