Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit 07e62cc

Browse files
authored
fix: missing timestamp in AppendRecord msg (#96)
1 parent 396a6e0 commit 07e62cc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/streamstore/_mappers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636

3737
def append_record_message(record: Record) -> msgs.AppendRecord:
3838
headers = [msgs.Header(name=name, value=value) for (name, value) in record.headers]
39-
return msgs.AppendRecord(headers=headers, body=record.body)
39+
return msgs.AppendRecord(
40+
timestamp=record.timestamp, headers=headers, body=record.body
41+
)
4042

4143

4244
def append_input_message(stream: str, input: AppendInput) -> msgs.AppendInput:

0 commit comments

Comments
 (0)