Skip to content

Commit

Permalink
Merge pull request #69 from phagara/main
Browse files Browse the repository at this point in the history
fix type of SSE "id" field (int->str)
  • Loading branch information
sysid authored Aug 16, 2023
2 parents 3927c4e + a67994d commit 2de8053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sse_starlette/sse.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(
data: Optional[Any] = None,
*,
event: Optional[str] = None,
id: Optional[int] = None,
id: Optional[str] = None,
retry: Optional[int] = None,
comment: Optional[str] = None,
sep: Optional[str] = None,
Expand Down

0 comments on commit 2de8053

Please sign in to comment.