Samuel Colvin
Samuel Colvin
Generally we try to discourage doing networking within validation, mostly because there's no way to do `async` in a validator.
Yup, this is a bug, the work around I've used is to implement a "yes, no" select, but that's very annoying.
hi @ManiMozaffar thanks so much for contributing. I have a few thoughts: * please lets not use PDM, we use it on Pydantic due to the complex set of dependencies...
Let's not switch package manager at the same time as adding playwright tests.
I didn't think right now we have a way to set class name on a per row basis right now. @sydney-runkle let's think about whether there a way to add...
hopefully this is solved by #308.
Thanks so much would be great if you could test against pydantic v1.10.0b1, more information at https://github.com/pydantic/pydantic/discussions/4419. Ice now tested that release against quite a lot of libraries, so I...
@yezz123 i agree it makes sense to add the existing ones. @lig I agree this system isn't perfect, but I think it's the least worst. We (the maintainers) can always...
I'm a bit unclear on the usage here. I think the api should perhaps be more like ```py class LoginForm(BaseModel): password: str # whatever ot_token: OTPToken ... LoginForm.model_validate(form_data, context={'otp_secret': otp_secret_from_database_etc})...
yes, at an abstract level, this is what I want. I don't really mind how it's done, but I'd rather not have to edit the python (but I could).