CommitOpcodeKey

class dsviper.CommitOpcodeKey

Bases: object

What an opcode applies to: an attachment, an instance, and that instance’s concept.

Two runtime ids and an instance uuid, and their combined hash - the key a CommitProgram indexes its opcodes by. It names a document without reading one.

Note: Not directly instantiable.

attachment_runtime_id() → ValueUUId

Return the runtime id of the attachment the opcode applies to.

concept_runtime_id() → ValueUUId

Return the uuid identifying the concept’s type.

It follows from the namespace uuid and the name, so the same declaration yields the same id in any Definitions.

instance_id() → ValueUUId

Return the uuid of the instance of the concept.