Skip to content

add creation_time / last_updated to Record#558

Merged
ayushkamat merged 4 commits into
mainfrom
ayush/add-record-meta
Aug 1, 2025
Merged

add creation_time / last_updated to Record#558
ayushkamat merged 4 commits into
mainfrom
ayush/add-record-meta

Conversation

@ayushkamat
Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Ayush Kamat <ayush@latch.bio>
Comment thread src/latch/registry/record.py Outdated
Comment thread src/latch/registry/record.py Outdated
Comment thread src/latch/registry/record.py Outdated
Comment thread src/latch/registry/record.py Outdated
Comment thread src/latch/registry/table.py Outdated
Comment thread src/latch/registry/table.py Outdated
Comment thread src/latch/registry/table.py Outdated
Comment thread src/latch/registry/table.py Outdated
last_updated = dp.isoparse(events[0]["time"])

values = record_values.get(node["id"])
assert values is not None
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it may be None on non-serializable isolation because new rows might be added to this table between the two queries

you should just skip rows without values probably

Signed-off-by: Ayush Kamat <ayush@latch.bio>
Signed-off-by: Ayush Kamat <ayush@latch.bio>
@ayushkamat ayushkamat merged commit 4a63dc5 into main Aug 1, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants