Commit 03c4c96
fix: add missing scope validation in Session.wait_for_schema_agreement
The docstring and test promised ValueError for invalid scope values
(e.g. 'planet'), but the validation was never implemented in the method
body. Add an explicit check against the three SchemaAgreementScope
members.
Introduced in commit 0d215f4 (cluster: add Session.wait_for_schema_agreement).1 parent 6471abe commit 03c4c96
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3481 | 3481 | | |
3482 | 3482 | | |
3483 | 3483 | | |
| 3484 | + | |
| 3485 | + | |
| 3486 | + | |
| 3487 | + | |
| 3488 | + | |
3484 | 3489 | | |
3485 | 3490 | | |
3486 | 3491 | | |
| |||
0 commit comments