Feature: Define transforms via Protocol instead of abstract class
Open
type:feature
- Dominant language
- Python
- Stars
- 779
- Forks
- 86
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 6
Description
`MapTransform` and others are currently implemented as `abc.ABC`. As a result, once one implements transforms for grain, one has to import grain. But I'd like to define transforms that I might use with a different tool. A `Protocol` would allow this flexibility.
Contributor guide
Assessment
This issue has not been assessed yet.