Skip to content

Conversation

DavidCEllis
Copy link
Owner

This makes the get_ns_annotations function get every type annotation as a forward reference in order to be able to evaluate them at a later point.

I may still wish to move this logic into a separate attribute and make .type a property which evaluates them. This may require additional logic or just a compatibility break with anything manually defining .type.

@DavidCEllis DavidCEllis marked this pull request as draft August 29, 2025 11:24
@DavidCEllis
Copy link
Owner Author

This currently relies on some annotationlib internals so it shouldn't be merged yet.

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