(self, skill_id: str)
| 638 | |
| 639 | @_db_retry() |
| 640 | def _deactivate_record_sync(self, skill_id: str) -> bool: |
| 641 | self._ensure_open() |
| 642 | with self._mu: |
| 643 | cur = self._conn.execute( |
| 644 | "UPDATE skill_records SET is_active=0, last_updated=? " |
| 645 | "WHERE skill_id=?", |
| 646 | (datetime.now().isoformat(), skill_id), |
| 647 | ) |
| 648 | self._conn.commit() |
| 649 | return cur.rowcount > 0 |
| 650 | |
| 651 | @_db_retry() |
| 652 | def _reactivate_record_sync(self, skill_id: str) -> bool: |
nothing calls this directly
no test coverage detected