Get the first parent of the snapshot, or None if it has no parents (read-only)
(self)
| 165 | |
| 166 | @property |
| 167 | def first_parent(self) -> Optional['Snapshot']: |
| 168 | """Get the first parent of the snapshot, or None if it has no parents (read-only)""" |
| 169 | handle = core.BNGetSnapshotFirstParent(self.handle) |
| 170 | if handle is None: |
| 171 | return None |
| 172 | return Snapshot(handle=handle) |
| 173 | |
| 174 | @property |
| 175 | def parents(self) -> List['Snapshot']: |