working state machine flow yay

This commit is contained in:
Nick Sweeting
2024-11-18 04:25:45 -08:00
parent 9adfe0e2e6
commit eb53145e4e
7 changed files with 107 additions and 52 deletions

View File

@@ -194,6 +194,7 @@ class Crawl(ABIDModel, ModelWithHealthStats, ModelWithStateMachine):
return pending_archiveresults
def create_root_snapshot(self) -> 'Snapshot':
print(f'Crawl[{self.ABID}].create_root_snapshot()')
from core.models import Snapshot
try: