The mutually dependent/exclusive Pydantic functionality should be reviewed.
-
is a Mixin a good abstraction for that?
-
what are the exact semantics of those constraints?
Currently, dependency/exclusiveness is checked for supplied values to a model; but some similar semantics could also be applied in a post-init manner.
-
...
The mutually dependent/exclusive Pydantic functionality should be reviewed.
is a Mixin a good abstraction for that?
what are the exact semantics of those constraints?
Currently, dependency/exclusiveness is checked for supplied values to a model; but some similar semantics could also be applied in a post-init manner.
...