Get a snapshot by its id, or None if no snapshot with that id exists
(self, id: int)
| 250 | return self.get_snapshot(item) |
| 251 | |
| 252 | def get_snapshot(self, id: int) -> Optional[Snapshot]: |
| 253 | """Get a snapshot by its id, or None if no snapshot with that id exists""" |
| 254 | snap = core.BNGetDatabaseSnapshot(self.handle, id) |
| 255 | if snap is None: |
| 256 | return None |
| 257 | return Snapshot(handle=snap) |
| 258 | |
| 259 | @property |
| 260 | def snapshots(self) -> List[Snapshot]: |