10BC0 Ensure references are up-to-date after pyodide syncing by philippjfr · Pull Request #7966 · holoviz/panel · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Ensure references are up-to-date after pyodide syncing
  • Loading branch information
philippjfr committed Jun 4, 2025
commit 12f6436c64cddc2684af74acbc6dcebb216105b5
2 changes: 1 addition & 1 deletion panel/io/pyodide.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def _serialize_buffers(obj, buffers={}):
def _process_document_events(doc: Document, events: list[Any]):
serializer = Serializer(references=doc.models.synced_references)
patch_json = PatchJson(events=serializer.encode(events))
doc.models.flush_synced()
doc.models.flush_synced(lambda model: not serializer.has_ref(model))

buffer_map = {}
for buffer in serializer.buffers:
Expand Down
Loading
0