-
Is it possible that the below type stub is incorrect?
https://github.com/pydantic/pydantic-core/blob/6a139753af85fc7bb6b34f26c1328994506f94ee/python/pydantic_core/_pydantic_core.pyi#L174-L183
In…
-
Hi Andrei, great meeting you last night. Here is the structured output functionality I mentioned in LiteLLM - https://docs.litellm.ai/docs/completion/json_mode#pass-in-json_schema. Getting back Pydan…
-
**Describe the bug**
If you successfully enter in a password to `/auth`, you will not be able to login as the UUID returned is not valid in `AuthResponse`
**Error Message**
```
self.__pydant…
4shub updated
3 months ago
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
Pydantic dataclasses cannot be used as Annotated Validators. The TypeError happens at class the definition.
I wanted…
-
**Describe the bug**
Map object fails to populate given an `Item` of type: WebMap that was previously generated and saved from python. This map item is fully interactable within AGOL.
**To Reprodu…
-
Something I've been meaning to implement in the long term is proper models and type validation for the responses from YouTube Music. This would provide better data validation and would notify sooner i…
-
**Describe the bug**
I wrote a tool that has the following function signature `def weekly_report_typesetting_print(self: "Agent", weekly_report_data: list[dict]) -> str:`, but after I registered this…
-
# Descrição
## Resumo:
Atualmente, o código da aplicação utiliza `@dataclass` para definição de classes de dados. Este é um ótimo ponto de partida para criar classes simples, mas gostaria de sug…
-
If you intentionally raise ValueError, a field called ctx seems to be added. An example of pydantic v2 error object.
```
{'validation_error': {'body_params': [{'ctx': {'error': ValueError()}, …
-
**Describe the bug**
Unable to use string references with `Link` across different modules. When using string references for `Link` without importing the actual model classes (i.e., relying on forwa…