chore(types): tighten E40 review collections
This commit is contained in:
@@ -8,7 +8,7 @@ from collections.abc import Iterator
|
||||
from contextlib import contextmanager
|
||||
from dataclasses import dataclass
|
||||
from pathlib import Path
|
||||
from typing import Final, Literal
|
||||
from typing import Final, Literal, cast
|
||||
|
||||
from k1link.artifacts import utc_now_iso, write_json_atomic
|
||||
|
||||
@@ -229,7 +229,9 @@ class E40OperatorReviewStore:
|
||||
substrate=substrate,
|
||||
reviewer_id=reviewer_id,
|
||||
)
|
||||
decisions = list(current["decisions"]) # type: ignore[arg-type]
|
||||
decisions = list(
|
||||
cast(list[dict[str, object]], current["decisions"])
|
||||
)
|
||||
replay = next(
|
||||
(
|
||||
decision
|
||||
|
||||
Reference in New Issue
Block a user