Spellcheck processing
sequenceDiagram
participant F as fastapi
participant P as postgres
participant R as rpc-dbt
participant L as languagetool
autonumber
note left of F: call spellcheck()
rect var(--md-footer-bg-color--dark)
note over F: read from spellcheck queue
F->>P: load spellcheck items
P-->>F: spellcheck items
end
rect var(--md-footer-bg-color--dark)
note over F: read from spellcheck queue
loop spellcheck items
F->>L: do spellcheck
L-->>F: spellcheck error ?
F->>P: store error
end
end
rect var(--md-footer-bg-color--dark)
note over F: run spellcheck
F--)R: rpc: send run spellcheck
R->>P: runs spellcheck models
note right of F: poll finished ...
end