Exclude Nones
This commit is contained in:
parent
7b55252c87
commit
4040945cdf
1 changed files with 15 additions and 15 deletions
|
|
@ -74,7 +74,7 @@ class SseServerTransport:
|
|||
await sse_stream_writer.send(
|
||||
{
|
||||
"event": "message",
|
||||
"data": message.model_dump_json(by_alias=True),
|
||||
"data": message.model_dump_json(by_alias=True, exclude_none=True),
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue