The types union per |
does not work on python 3.9.13 (test system) so either go back to the boring types.Union[...]
crap for the annotations or bump the supported python versions to >= 3.10
.
The latter is clearly preferred.
Fixed in version 2023.3.20 - sorry for python 3.9