feat: add resumable per-user sync pipeline
This commit is contained in:
12
app/sync/states.py
Normal file
12
app/sync/states.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class SyncOutcome:
|
||||
user_id: int
|
||||
status: str
|
||||
discovered: int
|
||||
imported: int
|
||||
skipped: int
|
||||
failed: int
|
||||
message: str | None = None
|
||||
Reference in New Issue
Block a user