Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/sentry/api/serializers/models/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class BaseGroupResponseOptional(TypedDict, total=False):

class BaseGroupSerializerResponse(BaseGroupResponseOptional):
id: str
shareId: str
shareId: str | None
shortId: str
title: str
culprit: str | None
Expand All @@ -134,7 +134,7 @@ class BaseGroupSerializerResponse(BaseGroupResponseOptional):
issueCategory: str
metadata: dict[str, Any]
numComments: int
assignedTo: ActorSerializerResponse
assignedTo: ActorSerializerResponse | None
isBookmarked: bool
isSubscribed: bool
subscriptionDetails: SubscriptionDetails | None
Expand Down
4 changes: 2 additions & 2 deletions src/sentry/api/serializers/models/group_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ class _Filtered(TypedDict):
class StreamGroupSerializerSnubaResponse(TypedDict):
id: str
# from base response
shareId: NotRequired[str]
shareId: NotRequired[str | None]
shortId: NotRequired[str]
title: NotRequired[str]
culprit: NotRequired[str | None]
Expand All @@ -304,7 +304,7 @@ class StreamGroupSerializerSnubaResponse(TypedDict):
issueCategory: NotRequired[str]
metadata: NotRequired[dict[str, Any]]
numComments: NotRequired[int]
assignedTo: NotRequired[ActorSerializerResponse]
assignedTo: NotRequired[ActorSerializerResponse | None]
isBookmarked: NotRequired[bool]
isSubscribed: NotRequired[bool]
subscriptionDetails: NotRequired[SubscriptionDetails | None]
Expand Down
Loading