From 14f19ed806362677736d9eb36eeee40abd9be64c Mon Sep 17 00:00:00 2001 From: Miwory Date: Wed, 15 Apr 2026 15:34:28 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- src/apps/users/v1/schema.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2beb5d5..8bb82d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "HospitalAssistantBackend" -version = "1.5.3" +version = "1.5.4" description = "Backend for Hospital Assistant" readme = "README.md" requires-python = ">=3.13,<3.14" diff --git a/src/apps/users/v1/schema.py b/src/apps/users/v1/schema.py index b01abaf..843ae38 100644 --- a/src/apps/users/v1/schema.py +++ b/src/apps/users/v1/schema.py @@ -40,8 +40,8 @@ NS = 'urn:hl7-org:v3' class TextElement(BaseXmlModel, tag='text', ns=NS): - representation: str = attr() - media_type: str = attr(name='mediaType') + representation: str | None = attr(default=None) + media_type: str | None = attr(name='mediaType', default=None) content: str