Samuel Colvin

Results 324 issues of Samuel Colvin

In theory if the worker goes down during a send job the job should be re-enqueued and carry on once the worker is back up.

TODO: * [ ] prevent modifying input dc * [ ] validate assignment * [ ] `field()` * [ ] `InitVar` * [ ] `validate_on_init` or remove? * [ ]...

awaiting author revision

experiment with using defininitions to define models, also some refactoring.

We're going to have a fair amount of code to ease the process of migrating from V1 to V2, including: * logic to catch old import paths, see #5113 *...

Meta
Feedback Wanted

Future improvements to the `validate_assignment` decorator #1179: * [ ] arguments to the decorator, including: validators, custom config (partially fixed by #1663), return value validation * [ ] rewrite front...

feature request
strictness

I often want `constr(max_length=XXX, strip_whitespace=True)`. Could we add a shortcut for this that worked better with mypy? E.g. something like ```py class Foobar(BaseModel): name: StrLimit[63] ``` This would be equivalent...

feature request
Feedback Wanted

Pydantic V2 will do a massively better job of validating arbitrary objects. To accomplish this without many methods, we should provide one function which can: * be used as a...

feature request
help wanted

For types which shouldn't be included with pydantic but which people understandably want to reuse. See #5011 - I don't think we should not add a one time password type...

help wanted
Feedback Wanted

@dmontagu and I were just talking about making migration to V2 as easy as possible. Some things will be complicated, but others should be mechanical, e.g. renaming methods `dict()` to...