Logging inside pydantic model/field validator
I’m trying to use model validator, to display a warning if two fields have certain value. So the code looks like this:
I’m trying to use model validator, to display a warning if two fields have certain value. So the code looks like this: