diff --git a/common_lib/services/socket_internal.py b/common_lib/services/socket_internal.py index 5dc2e9d..17161e0 100644 --- a/common_lib/services/socket_internal.py +++ b/common_lib/services/socket_internal.py @@ -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( diff --git a/pyproject.toml b/pyproject.toml index 57084b7..70829eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"