-
When doing `garth.UserProfile.get()`, I get a validation error due to `profile_image_uuid`
```
---------------------------------------------------------------------------
ValidationError …
-
### Motivation: Why do you think this is important?
We pass around most of our configuration in flyte via python `@dataclass` as this makes it very easy for us to manage configuration and such. Unf…
-
Hello!
There is a feature, that, I think, may greatly improve autocomplete when using recordclass: **PEP 681** (dataclass_transform).
I know, this is a feature from python 3.11, but it also avai…
-
## 建立class BMI
## 建立Fields->name,height,weight
## 建立property->bmi
## 建立實體方法def status(self) -> str
### 輸入
- 請輸入姓名:
- 請輸入身高:
- 請輸入體重:
### 輸出
- xxx您好:
- 您的bmi值是24.24
- 您的體重:正常
-
Applying the [`chex.dataclass`](https://chex.readthedocs.io/en/latest/api.html#chex.dataclass) wrapper to a class yields the following error:
```python3
import chex
@chex.dataclass(frozen=True)…
-
### First check
- [X] I added a descriptive title to this issue.
- [X] I used the GitHub search to find a similar issue and didn't find it.
- [X] I searched the Prefect documentation for this issue.
…
-
### Summary
Getting the bytes of an int64_field is leading to infinite recursion
### Reproduction Steps
Script to reproduce:
```
import betterproto
int64_field: int = betterproto.int64_field(1…
-
## Feature Request Type
- [ ] Core functionality
- [x] Alteration (enhancement/optimization) of existing feature(s)
- [ ] New behavior
## Description
Currently `_wrap_dataclass` doesn't all…
-
I get an error when running this line of code when using Python version 3.12.3.
from optionlab import VERSION, run_strategy
TypeError: 'list' is not a valid discriminated union variant; should b…
-
[NiBabel](https://github.com/nipy/nibabel/) was written in the times of Python 2.4 or 2.5 and the world has changed. Nowadays we would probably write our images as a dataclass:
```
@dataclass
cla…