Skip to content

Commit 699e023

Browse files
committed
Fix: Solve Group creation with the same guid.
1 parent b1b5fdc commit 699e023

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deployment/docker-build/pyaleph.dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ RUN pip install -e .
5858

5959
FROM base
6060

61+
RUN groupadd -g 1000 -o aleph
6162
RUN useradd -s /bin/bash -u 1000 -g 1000 -o aleph
6263

6364
COPY --from=builder --chown=aleph /opt/venv /opt/venv

src/aleph/schemas/pending_messages.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ class BasePendingMessage(AlephBaseMessage, Generic[MType, ContentType]):
112112

113113
@model_validator(mode="before")
114114
def load_content(cls, values):
115-
values_copy = values.copy()
116-
return base_pending_message_load_content(values_copy)
115+
return base_pending_message_load_content(values)
117116

118117
@field_validator("time", mode="before")
119118
def check_time(cls, v, info):

0 commit comments

Comments
 (0)