stubgen: Gracefully handle invalid Optional
and recognize aliases to PEP 604 unions
#2967
This job succeeded
Loading
Optional
and recognize aliases to PEP 604 unions
#2967