ValueOpcodeKey

class dsviper.ValueOpcodeKey

Bases: object

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

Three runtime ids and their combined hash - the key a ValueProgram 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.