Camillo
Camillo
I use this constantly in other editors for adding things at the beginning or end of lines, but in Chocolat, trying to replace `^` with 'foo' does nothing.
Please merge these changes, so people with the latest version of SL can use your fork directly. Cheers.
Pydantic 2 uses Rust's regex implementation by default, which runs in linear time but doesn't support lookarounds or backreferences. If a field needs to use such a regex, it is...
This is a mechanical transformation that is currently done for fields but not for model configs.
This is supported again in Pydantic2: https://github.com/pydantic/pydantic/pull/6811
If a validator is already decorated with `classmethod` we should not duplicate the decorator.
$ du -sh /private/var/tmp/_bazel_camillol/install 2.3G /private/var/tmp/_bazel_camillol/install There are 50 directories in there. The oldest dates back to November 24, 2015; the newest is from September 1, 2016. May 12 has...
When a model has a reverse relation, Ormar synthesizes a field for it. In order to get Pydantic to see the new field, it calls `DecoratorInfos.build` (in `add_field_serializer_for_reverse_relations`) to pick...
# Summary HTTPStatusError's `__init__` method has required keyword-only arguments. BaseException has a custom `__reduce__` method that can't handle that correctly. As a result, attempting to unpickle a pickled HTTPStatusError fails...
I upgraded a large private codebase to Pydantic 2, and in the process I made a bunch of improvements to bump-pydantic. See [this branch](https://github.com/camillol/bump-pydantic/tree/camillo/public), and the [list of commits](https://github.com/pydantic/bump-pydantic/compare/main...camillol:bump-pydantic:camillo/public). Here...