Skip to content

Conversation

@inventshah
Copy link

Fixes #791.

Patches docs for variables imported from other modules with external type stubs if the current module has no type stubs. Helps create docs for native extension modules (e.g. from nanobind or PyO3).

@inventshah inventshah marked this pull request as draft November 11, 2025 21:08
@inventshah
Copy link
Author

Investigating test failures. The 3.14.0 ones looks potentially unrelated, but the others are legit.

@inventshah inventshah marked this pull request as ready for review November 11, 2025 22:02
@inventshah
Copy link
Author

@mhils fixed the tests so this should be ready for review.

One other behavior change is in TypeDict inheritance, attributes no longer skip directly to the base class its from, and instead follows the inheritance hierarchy (test_snapshot.py::test_snapshots[repr-typed_dict]). This feels slightly more accurate to me, but happy to try to preserve the old behavior if desirable. I see theres already some special casing around TypeDict so maybe you have thoughts or advise there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant