Closed
Description
Issue description
We have a few cases where we have C++ code that has write only properties (just a set method) that we'd like to promote. These are basically identical to def_property_readonly except with just a set method. The current def_property can't be used because it relies on the read function always being there to get docs. The additions we made are:
- def_property_writeonly
- def_property_writeonly_static
If you don't think this is appropriate, feel free to close this. Otherwise, I'll submit a PR w/ the updated functions and test cases that we've implemented. If you think it's necessary, I'm sure we could also add def_writeonly and def_writeonly_static for completeness.
Metadata
Metadata
Assignees
Labels
No labels