Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
9a72f99
feat: Add is_into_lazyframe
FBruzzesi May 11, 2026
22e979a
fixup warnings
FBruzzesi May 11, 2026
b613345
main and v1 dependencies fixes
FBruzzesi May 11, 2026
db4aa27
unit tests and sqlframe issue
FBruzzesi May 11, 2026
fd75a8b
fix import, fix unit tests
FBruzzesi May 11, 2026
9b95b9b
Merge branch 'main' into feat/is_into_lazyframe
FBruzzesi May 12, 2026
74e2164
Align v2 behaviour, resolve comment: https://github.com/narwhals-dev/…
FBruzzesi May 12, 2026
e1aeff5
fix: Avoid `hasattr` false-positives
dangotbanned May 13, 2026
95287e6
Use _hasattr_static in all is_into_*
FBruzzesi May 14, 2026
aa8bac6
merge main
FBruzzesi May 14, 2026
35d0b88
refactor(perf): Do not check isinstance per each nested call
FBruzzesi May 14, 2026
98b4c8c
simplify by aliasing
FBruzzesi May 14, 2026
7625405
fix up is_into_*_test typing
FBruzzesi May 16, 2026
c6b4d6f
Add DynamicAttrOnly tests
FBruzzesi May 16, 2026
3247238
**not** is_into_series(dynamic_attr_only)
FBruzzesi May 16, 2026
8495ffd
no cover DynamicAttrOnly.__getattr__
FBruzzesi May 16, 2026
bce6fdb
merge main, solve conflicts
FBruzzesi May 16, 2026
efaa06b
rename: DynamicAttrOnly -> AlwaysHasAttr
FBruzzesi May 16, 2026
f45f6ce
Merge branch 'main' into feat/is_into_lazyframe
dangotbanned May 20, 2026
d1a256c
Merge branch 'main' into feat/is_into_lazyframe
FBruzzesi May 20, 2026
cc294dd
Discussion summarizing note
FBruzzesi May 21, 2026
a7de868
docs: Remove links
FBruzzesi May 22, 2026
aa04980
rm warning in 'is_into_<narwhals_obj>'
FBruzzesi May 22, 2026
79b0aa9
Rollback v1 changes
FBruzzesi May 22, 2026
fc4a4f1
merge main
FBruzzesi May 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/narwhals/_interchange/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import enum
from typing import TYPE_CHECKING, Any, NoReturn

from narwhals._utils import Version, parse_version
from narwhals._utils import Version, _hasattr_static, parse_version

if TYPE_CHECKING:
import pandas as pd
Expand Down Expand Up @@ -156,4 +156,4 @@ def select(self, *exprs: str) -> Self: # pragma: no cover


def supports_dataframe_interchange(obj: Any) -> TypeIs[DataFrameLike]:
return hasattr(obj, "__dataframe__")
return _hasattr_static(obj, "__dataframe__")
Loading
Loading