set_private
Mark or unmark a Gramps object as private to exclude it from bulk queries, searches, tree walks, and reports unless private records are explicitly included.
Instructions
Set (or clear) the Gramps private flag on an object.
Private records are withheld from bulk output (queries, searches, tree walks, timelines, reports) unless a call passes include_private.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Handle or gramps_id of the object. | |
| private | No | True to mark private (default), False to un-mark. | |
| object_type | Yes | Type of the object: 'person', 'family', 'event', 'source', etc. |