mode
mode copied to clipboard
fix: update is_union function to support python 3.10+ union syntax
Description
- Add check for types.UnionType to handle new union syntax