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