CommitOpcodeDocumentSet¶
- class dsviper.CommitOpcodeDocumentSet¶
Bases:
CommitOpcodeWrites a whole document at a key - the only opcode without a path.
Note: Not directly instantiable.
- arguments(definitions: DefinitionsConst, *, encoded: Literal[True] = True) tuple[Attachment, ValueKey, _OutputValues]¶
Return (attachment, key, value), resolving the ids the opcode carries against definitions.
encoded=False returns a Value rather than a native object.
- key() CommitOpcodeKey¶
Return the CommitOpcodeKey the opcode applies to - the attachment, the instance and its concept.
- type() str¶
Return ‘Document_Set’, the name of this opcode’s kind.