mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
types: Make value optional for ProfileData.
`UserProfile.profile_data` allows each element's value to be `None`. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
2382f1925d
commit
5d65ca33a8
@@ -29,7 +29,7 @@ class ProfileDataElementBase(TypedDict):
|
||||
|
||||
|
||||
class ProfileDataElement(ProfileDataElementBase):
|
||||
value: ProfileDataElementValue
|
||||
value: Optional[ProfileDataElementValue]
|
||||
rendered_value: Optional[str]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user