-
there are many limitations with pyright's approach to pydantic, which is trying to get all its features to be standardized in the type system in the most special-cased way imaginable. creating the `da…
-
In def_config_suews.py in branch dayantur/adding_pydantic_rules (from sunt05/issue29), I've implemented a way to see all the exceptions together instead of having the script stopping after raising the…
-
Todo list:
- [x] @model_validator (validate_porosity_range) in class DectrProperties
- [x] @model_validator (validate_cap_range) in class DectrProperties
- [x] @model_validator (validate_albedo_rang…
-
I'm tinkering with an automatic Pydantic (de)serialization integration. Here is what I have so far:
```py
import dataclasses
from typing import Any
import dramatiq
from dramatiq.results impor…
-
#### ALL software version info
(this library, plus any other relevant software, e.g. bokeh, python, notebook, OS, browser, etc should be added within the dropdown below.)
Software Version Info
…
-
Details in https://github.com/langchain-ai/langchain-google/issues/610#issuecomment-2493831993
-
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.10/site-packages/pydantic/type_adapter.py", line 270, in _init_core_attrs
self._c…
-
**pydantic 2.9**
The current pinned pydantic 2.2.1 doesn’t have the class of “Discriminator” which is essential for langchain, which is an essential module for interacting with various of LLMs.
Er…
-
### Describe the bug
When specifying a subclass of pydantic.BaseModel in spectree.Response, an `AssertionError: invalid pydantic.BaseModel` is raised. This issue seems to be caused by the assertion a…
-
Use a pydantic-based class to define all data structures, ensuring consistency and improving sustainability for maintenance.
- [x] #304
- [ ] #303
- [ ] #300
- [ ] #301