Get the current snapshot
(self)
| 274 | |
| 275 | @property |
| 276 | def current_snapshot(self) -> Optional[Snapshot]: |
| 277 | """Get the current snapshot""" |
| 278 | snap = core.BNGetDatabaseCurrentSnapshot(self.handle) |
| 279 | if snap is None: |
| 280 | return None |
| 281 | return Snapshot(handle=snap) |
| 282 | |
| 283 | @current_snapshot.setter |
| 284 | def current_snapshot(self, value: Snapshot): |