Skip to content

Fix completion of callable with __getattr__ and without __name__#3149

Merged
jonatanklosko merged 1 commit intomainfrom
jk-py-callable
Mar 6, 2026
Merged

Fix completion of callable with __getattr__ and without __name__#3149
jonatanklosko merged 1 commit intomainfrom
jk-py-callable

Conversation

@jonatanklosko
Copy link
Member

Some objects are callable, but they define a catch-all getattr and reading __name__ can return anything (not string). This is the case for polars.col.

@jonatanklosko jonatanklosko merged commit 6fc75e1 into main Mar 6, 2026
3 checks passed
@jonatanklosko jonatanklosko deleted the jk-py-callable branch March 6, 2026 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant