Skip to content

Make sure methods are callable - #48

Open
ghickman wants to merge 1 commit into
mainfrom
deferred-object
Open

Make sure methods are callable#48
ghickman wants to merge 1 commit into
mainfrom
deferred-object

Conversation

@ghickman

@ghickman ghickman commented Sep 8, 2026

Copy link
Copy Markdown
Owner

From #37:

Django's DeferredAttribute gets reported as method by pydoc.classify_class_attrs, but is not callable, so Method.from_func crashes.


Now that 61d6119 is in, the tests for this should correctly fail in CI.

@ghickman

ghickman commented Sep 8, 2026

Copy link
Copy Markdown
Owner Author

This needs a use case to go with it, and since the original goal was to support Django's DeferredAttributes, a way to exercise that use case in tests.

This is all a bit related to #41, but that's likely too much for this ticket.

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