Commit cb0c461
authored
Introspection: use pyclass introspection ids in the type hint expression (#5732)
* Introspection: use pyclass introspection ids in the type hint expression
Allows to not rely on the `module` parameter but resolve proper module path during the introspection step, avoiding the need for relative imports support and dropping a full class of possible bugs
* Code review details
* Keep pyclass textual annotation in `WithIntrospectionId` nodes
* Better API experiment1 parent b3fb6aa commit cb0c461
File tree
6 files changed
+385
-290
lines changed- pyo3-introspection/src
- pyo3-macros-backend/src
- src/inspect
6 files changed
+385
-290
lines changed
0 commit comments