diff --git a/CHANGELOG.md b/CHANGELOG.md index 758cd53..7fee8cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - feat(query): support update statements - feat(query): support delete statements with where clause - chore(loads): document table write locking and retry behavior +- feat(tables): add layout property to table schemas - feat(jobs): add ivf_rebalance_sweep job type - chore(query): clarify write statement and dialect documentation - chore: add 503 service unavailable response to load endpoints diff --git a/tests/test_model_extra_forbid.py b/tests/test_model_extra_forbid.py index 8d415c7..c0cbd86 100644 --- a/tests/test_model_extra_forbid.py +++ b/tests/test_model_extra_forbid.py @@ -91,10 +91,13 @@ def test_every_request_body_model_forbids_extras() -> None: src = index[cls].read_text() if 'extra="forbid"' in src: continue - # The oneOf/anyOf wrappers carry a different ConfigDict and have no - # plain fields to forbid on; anything else must have been patched. + # The oneOf/anyOf wrappers carry a different ConfigDict and enums have + # no fields at all, so neither has anything to forbid on; anything + # else must have been patched. if re.search(r"^\s+(oneof|anyof)_schema_\d+_validator", src, re.M): continue + if re.search(r"^class \w+\(str, Enum\):", src, re.M): + continue missing.append(cls) assert missing == []