mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
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:
parent
e03fd27357
commit
85e43b3737
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue