Silence untyped SAEnum.enums access in the consistency guard 🟪

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jun-te Kim 2026-06-19 18:19:32 +00:00
parent e03fd27357
commit 85e43b3737

View file

@ -31,5 +31,5 @@ def test_override_component_pgenum_covers_every_component() -> None:
# The property_overrides.override_component pgEnum mirror must list every
# component, or writing/reading a new-component row through it throws a
# LookupError against Postgres (caught live on the Hyde portfolio-796 run).
pgenum_values = cast(list[str], override_component_sa_enum.enums)
pgenum_values = cast(list[str], getattr(override_component_sa_enum, "enums"))
assert set(pgenum_values) == set(_COMPONENT_OVERLAYS)