Closed adriangb closed 2 years ago
It might be nice to have more flexible binds, for example the option to:
This would probably require having a protocol like:
class BindMatcher(Protocol): def match(self, param: inspect.Parameter) -> Optional[DependantBase]: ...
The risk is that this increases complexity for non-existent use cases. This will probably not get implemented until it is requested by users.
Implemented!
It might be nice to have more flexible binds, for example the option to:
This would probably require having a protocol like:
The risk is that this increases complexity for non-existent use cases. This will probably not get implemented until it is requested by users.