That makes sense. An example is a configuration input that has additional dependency structure. For example, when you want to rename categories, in a dataframe, you want to pass a dict representing the rename map. It has additional structure that the map is 1-1; otherwise you’re doing a binning operation on the categories. If possible, I’d like to add a function that ensures this 1-1 constraint is satisfied.
That said, it’s not really a significant pain point, and also I could see how such a feature could add complexity.