scipp / sciline

Build scientific pipelines for your data
https://scipp.github.io/sciline/
BSD 3-Clause "New" or "Revised" License
10 stars 2 forks source link

Python 3.12 type aliases don't work with parameters #145

Closed jl-wynen closed 5 months ago

jl-wynen commented 8 months ago

The code uses isinstance(param, key) which doesn't work when key is a TypeAliasType. Might be fixed by #144

SimonHeybrock commented 8 months ago

Note also #81.

SimonHeybrock commented 5 months ago

The isinstance checks have been removed in the latest release so this should be done and we can implement #81.