-
-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
component: type/value stuffsystem of parameter type/value checking, inheritnace, etc etcsystem of parameter type/value checking, inheritnace, etc etctype-bugBug reportBug report
Milestone
Description
Surely, ParamOverrides shouldn't be allow this?
import param
class Foo(param.ParameterizedFunction):
a = param.String('bar')
b = param.Boolean()
def __call__(self, **params):
print param.ParamOverrides(self,params)>>> Foo(a=slice, b=3)
{'a': <type 'slice'>, 'b': 3} overriding params from Foo(a='bar', b=False, name='Foo')Shouldn't the types be checked? Otherwise what is the point of ParamOverrides?
Maybe I am just getting confused and I just don't understand what ParamOverrides are for...
Metadata
Metadata
Assignees
Labels
component: type/value stuffsystem of parameter type/value checking, inheritnace, etc etcsystem of parameter type/value checking, inheritnace, etc etctype-bugBug reportBug report