Improved check on using, format, indexed and multiple#188
Improved check on using, format, indexed and multiple#188
Conversation
parameters in accordance to recordBones
|
What's the actual improvement here? Why should the parameter using have a default value that can never be used (None is not valid)? Would rather recommend removing the default value for format also (though this parameter is prefilled in other bones where it works correctly). |
The reason is only for better usability: On the wrong bone definition test = recordBone(descr="test")the exception message is less informative then as it is the case with this pull request. |
|
That's the correct behavior. There's a mandatory parameter that you didn't specify. I'd rather recommend removing the default value for format also. (I thought it was a parameter already specified in baseBone, but that's not the case, it is also unique to relational/recordBones) |
parameters in accordance to recordBones