set_private
Mark a Gramps object as private to exclude it from queries, searches, and reports, or clear the flag to restore visibility.
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. |