Skip to content

Conversation

@curtis-allan
Copy link
Contributor

This PR fixes an issue with docments annotation type evaluation.

When calling docments(full=True, eval_str=True), empty annotation types in the output are not evaluated to None as they once were, causing issues in other functions that use docments for type setting (like @call_parse).

Testing was done using the watch_export cli, which would throw errors regarding inspect._empty not being a valid type previously. With this change it works as before

@curtis-allan curtis-allan requested a review from jph00 January 15, 2026 04:24
@curtis-allan curtis-allan self-assigned this Jan 15, 2026
@curtis-allan curtis-allan added the bug Something isn't working label Jan 15, 2026
@jph00
Copy link
Contributor

jph00 commented Jan 15, 2026

Oh great fix! :)

@jph00 jph00 merged commit 99a56d4 into main Jan 15, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants