Version: latest
agrag.ingestion.match_blocks
Keep apart blocks, admission checks, and their graph writes.
Functions:
- acquire_match_write_lock – Acquire the graph's shared lock before reading or changing matches.
- admit_decisions – Split decisions into admitted and refused, preserving input order.
- allow_match – Delete the block on a pair so a later call may match it again.
- fetch_blocked_partners – Return keep apart partners among the given entities.
- keep_apart_id – Return the order-independent id of a pair's keep apart block.
- write_keep_apart_blocks – Upsert keep apart blocks for each pair in an open transaction.
- write_model_blocks – Write standalone model rejections under the match-write lock.