Skip to content
Open
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
2 changes: 2 additions & 0 deletions VariantShredding.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ def construct_variant(metadata: Metadata, value: Variant, typed_value: Any) -> V
assert typed_value.keys().isdisjoint(value.keys()), "object keys must be disjoint"

# union the shredded fields and non-shredded fields
# (the result is a Variant object; field ID ordering rules
# from VariantEncoding.md apply)
Comment thread
nssalian marked this conversation as resolved.
Outdated
return VariantObject(metadata, object_fields).union(VariantObject(metadata, value))

else:
Expand Down