garth
garth copied to clipboard
validation error for UserProfile profile_image_uuid
When doing garth.UserProfile.get(), I get a validation error due to profile_image_uuid
---------------------------------------------------------------------------
ValidationError Traceback (most recent call last)
[<ipython-input-12-ad35c6dfc66a>](https://localhost:8080/#) in <cell line: 1>()
----> 1 garth.UserProfile.get()
1 frames
[/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_dataclasses.py](https://localhost:8080/#) in __init__(__dataclass_self__, *args, **kwargs)
139 __tracebackhide__ = True
140 s = __dataclass_self__
--> 141 s.__pydantic_validator__.validate_python(ArgsKwargs(args, kwargs), self_instance=s)
142
143 __init__.__qualname__ = f'{cls.__qualname__}.__init__'
ValidationError: 1 validation error for UserProfile
profile_image_uuid
Field required [type=missing, input_value=ArgsKwargs((), {'id': 403...: 0, 'user_pro': False}), input_type=ArgsKwargs]
For further information visit https://errors.pydantic.dev/2.9/v/missing
Same issue here! I also have similar errors with UserSettings, but for UserSettings there are more fields seem problematic. I guess it's less important though.
going out in the next release: 0.5.0