get_object
Read any Gramps object's raw stored record by type and handle or ID, including places, media, notes, and citations. Use before editing to inspect fields exactly as saved.
Instructions
Read any object's raw record -- including places, media, notes and citations, which have no shaped getter.
Returns the record as stored, which is what you want before editing one. For people and sources the shaped getters (get_person, get_source) are easier to read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Handle or gramps_id. | |
| keys | No | Comma-separated fields to return. Omit for the whole record. | |
| object_type | Yes | person, family, event, place, source, citation, repository, media, note, or tag. |