SetFunctionProperty
- class ipkiss3.all.SetFunctionProperty
A special version of DefinitionProperty which calls a set method to set the variables, but it is stored in a known attribute, so a get method need not be specified. A restriction can be specified.
- Parameters:
- internal_member_name: str
The name of a private member to use as storage.
- fset: callable
A function or callable that gets called when setting the attribute.
- default:
The default value of the property, can be a function as well.
- allow_none: bool, optional
If True, the property’s value can be None
- restriction: optional
If you assign a restriction to the DefinitionProperty, ipkiss will enforce that a assigned value complies with the restriction.
- preprocess: callable, optional
A callable
- locked: bool, optional
If locked is True, the property is readonly, once you’ve assigned a value, you can’t assign a new value to it.
- doc: str, optional
A docstring explaining the meaning of the property.
- internal_member_name
- fset
- default
- locked
- preprocess
- allow_none