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

feat: add method to get provider from type #135

Closed jokasimr closed 2 months ago

jokasimr commented 9 months ago

Fixes #98 and #108

jokasimr commented 9 months ago

I think that now after adding the type matching logic we don't need to treat subproviders separately anymore.

That would simplify adding the __getitem__ and __contains__ methods. So therefore I'm considering making that refactoring here, what do you think @SimonHeybrock ?