Skip to main content

Module claim

Expand description

Claiming the rows an import iteration sends: which of them may go out, and the submission each one carries.

Enumsยง

Preflight ๐Ÿ”’
What the preflight made of one claimed row.
Unsendable ๐Ÿ”’
A frozen snapshot that cannot be sent. Suotar validates every item before acting on any, so one it would refuse takes the rest of the batch down with it.

Functionsยง

build_submission ๐Ÿ”’
Builds the submission from the frozen snapshot, or says why the row cannot go into a batch.
claim_import_candidates ๐Ÿ”’
Claims at most limit rows due for import, moves each one it may send to submitting, and settles the rest where they stand.
hold_back ๐Ÿ”’
Parks a row the preflight could not write, flagged for an admin, so the rest of the claim still goes out.
preflight_submission ๐Ÿ”’
required_field ๐Ÿ”’