fix json serializat
This commit is contained in:
parent
d3678cb150
commit
910c0201b4
@ -14,7 +14,7 @@ async def send_internal_socket_msg(
|
||||
with_httpexception = False
|
||||
) -> dict:
|
||||
if isinstance(message, BaseModel):
|
||||
message = message.model_dump()
|
||||
message = message.model_dump(mode="json")
|
||||
|
||||
try:
|
||||
response = await client.post(
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "common-lib"
|
||||
version = "0.0.29"
|
||||
version = "0.0.30"
|
||||
description = "Библиотека общих компонентов для микросервисов yobble"
|
||||
authors = [{ name = "cheykrym", email = "you@example.com" }]
|
||||
license = "MIT"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user