Commit 104009c
committed
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 c1bfd54 commit 104009c
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3482 | 3482 | | |
3483 | 3483 | | |
3484 | 3484 | | |
| 3485 | + | |
| 3486 | + | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
3485 | 3490 | | |
3486 | 3491 | | |
3487 | 3492 | | |
| |||
0 commit comments