Make specifying a resolver optional. The user may only ever want to use get_params, not get_arguments. E.g:
R = TypeVar("R", bound=Callable)
class Resolvers(Register[Type[ParameterSpecificafion], Optional[R]]):
pass
class MyManager(ParameterManager):
resolvers = {Param: None}
Chaining on from this, ParameterManager.resolve is currently an abstractmethod, however the user may have no desire to implement one. Perhaps it should throw an UnresolvableParameter exception by default instead.
Make specifying a resolver optional. The user may only ever want to use
get_params
, notget_arguments
. E.g:Chaining on from this,
ParameterManager.resolve
is currently anabstractmethod
, however the user may have no desire to implement one. Perhaps it should throw anUnresolvableParameter
exception by default instead.