This PR is a small extension for the properties client. It adds the method update which works like the create method. Since both methods rely on the same validation, the validation has been extracted into a new method _validate, and it has been extended asserting that the datatype DATA_TYPE_ENUM always needs an options parameter.
This PR is a small extension for the properties client. It adds the method
update
which works like thecreate
method. Since both methods rely on the same validation, the validation has been extracted into a new method_validate
, and it has been extended asserting that the datatypeDATA_TYPE_ENUM
always needs anoptions
parameter.