Merge pull request 'fix(halacha): split authority (derived) from rule_role — stop source-conflation (INV-DM7)' (#112) from worktree-halacha-authority-split into main
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m32s
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 1m32s
This commit was merged in pull request #112.
This commit is contained in:
@@ -6343,8 +6343,10 @@ async def goldset_tag_ep(goldset_id: str, req: GoldsetTagRequest):
|
||||
gid = UUID(goldset_id)
|
||||
except ValueError:
|
||||
raise HTTPException(400, "מזהה לא תקין")
|
||||
# correct_type is the rule ROLE only (INV-DM7) — authority (binding/
|
||||
# persuasive) is derived, not a human-tagged value.
|
||||
if req.correct_type and req.correct_type not in (
|
||||
"binding", "interpretive", "obiter", "application", "procedural", "persuasive",
|
||||
"holding", "interpretive", "procedural", "application", "obiter",
|
||||
):
|
||||
raise HTTPException(400, "correct_type לא תקין")
|
||||
row = await db.goldset_tag(
|
||||
|
||||
Reference in New Issue
Block a user