You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling to UserSettings.get will raise this validation error.
pydantic_core._pydantic_core.ValidationError: 8 validation errors for UserSettings
user_data.activity_level
Input should be a valid string [type=string_type, input_value=8, input_type=int]
For further information visit https://errors.pydantic.dev/2.10/v/string_type
user_data.weather_location.use_fixed_location
Input should be a valid boolean [type=bool_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.10/v/bool_type
user_data.weather_location.latitude
Input should be a valid number [type=float_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.10/v/float_type
user_data.weather_location.longitude
Input should be a valid number [type=float_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.10/v/float_type
user_data.weather_location.location_name
Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.10/v/string_type
user_data.weather_location.iso_country_code
Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.10/v/string_type
user_data.weather_location.postal_code
Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.10/v/string_type
user_data.golf_distance_unit
Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.10/v/string_type
The text was updated successfully, but these errors were encountered:
Calling to
UserSettings.get
will raise this validation error.The text was updated successfully, but these errors were encountered: